/** * Formats a string for error messages, truncating above the threshold. * When the PUNCTILIO_DEBUG environment variable is set to a non-empty * value, also writes the full content to stderr in Node.js so build logs * capture it. */ export declare function formatErrorString(content: string, label: string): string; /** Throws if `options` contains a key not present in `validKeys`. @internal */ export declare function assertKnownOptionKeys(options: object, validKeys: readonly string[], context: string): void; /** Returns a copy of `obj` without the listed keys. @internal */ export declare function omitKeys(obj: T, keys: readonly string[]): Partial; /** Returns a copy of `obj` with `undefined`-valued keys removed. @internal */ export declare function filterUndefined(obj: T): Partial; /** Deterministic JSON string for an options object, suitable as cache key. @internal */ export declare function stableStringify(obj: object): string; //# sourceMappingURL=utils.d.ts.map