export type JsonRecord = Record; export declare function asRecord(value: unknown): JsonRecord | null; export declare function asJsonRecord(input: unknown, errorMessage: string): JsonRecord; export declare function assertKnownKeys(record: JsonRecord, allowedKeys: readonly string[], label: string): void; export declare function requireTrimmedString(value: unknown, options: { fieldPath: string; maxLength?: number; requiredMessage?: string; invalidTypeMessage?: string; }): string; export declare function optionalTrimmedString(value: unknown, options: { fieldPath: string; maxLength?: number; invalidTypeMessage?: string; }): string | undefined; export declare function requireBoolean(value: unknown, fieldPath: string, errorMessage?: string): boolean; export declare function requireInteger(value: unknown, fieldPath: string, options?: { allowZero?: boolean; integerMessage?: string; }): number;