import * as NodeUtil from 'node:util';
interface KeyAndValue {
    key: string;
    value: any;
}
export interface jsonifyOpts {
    cycles?: boolean;
    reverse?: boolean;
    cmp?: (oa: KeyAndValue, ob: KeyAndValue) => number;
}
export type CircularReplacer = <RT = any>(kk: string, vv: RT) => RT | string;
export type KVAnyPair = [string | number, any];
export interface stringifyOpts {
    depth?: number;
    maxlen?: number;
    maxarr?: number;
    maxobj?: number;
    naked?: boolean;
    ellipsis?: string;
}
export declare function scrub_textish(val: string): string;
export declare function scrub_stringish(val: string): string;
export declare function reverseJsonifyCmp({ key: ka, value: va }: KeyAndValue, { key: kb, value: vb }: KeyAndValue): 1 | -1;
export declare function jsonify(val: any, optsIn?: jsonifyOpts): string;
export type InspectifyOpts = stringifyOpts & NodeUtil.InspectOptions & {
    verbosity?: number | undefined;
};
export declare function inspectify(val: any, opts?: InspectifyOpts): string;
export {};
//# sourceMappingURL=stringify.d.ts.map