/// <reference types="node" />
import { FmtString } from './format';
export declare const env: NodeJS.ProcessEnv;
export declare type Expand<T> = T extends object ? T extends infer O ? {
    [K in keyof O]: O[K];
} : never : T;
declare type MaybeExtra<Extra> = (Extra & {
    caption?: string;
}) | undefined;
export declare function fmtCaption<Extra extends {
    caption?: string | FmtString;
} & Record<string, unknown>>(extra?: Extra): MaybeExtra<Extra>;
export declare function deprecate(method: string, ignorable: string | undefined, use: string | undefined, see?: string): void;
export {};
//# sourceMappingURL=util.d.ts.map