/** * Narrow an `unknown` value to `string`, returning `undefined` on mismatch. * Pair with `??` for fallback chains: * * ```ts * const name = asString(raw.name) ?? asString(raw.login) ?? 'anonymous'; * ``` */ export declare function asString(value: unknown): string | undefined; /** * Type guard for "non-null object" — i.e. anything that can be indexed with * a string key. Replaces the very common `typeof v === 'object' && v !== null` * + `as Record` cast pair. */ export declare function isPlainRecord(value: unknown): value is Record; //# sourceMappingURL=coerce.d.ts.map