import { KvKey } from "./kv_types.js"; export declare function isRecord(obj: unknown): obj is Record; export declare function isDateTime(value: string): boolean; export declare function checkKeyNotEmpty(key: KvKey): void; export declare function checkExpireIn(expireIn: number | undefined): void; export declare function checkMatches(name: string, value: string, pattern: RegExp): RegExpMatchArray; export declare function checkString(name: string, value: unknown): asserts value is string; export declare function checkOptionalString(name: string, value: unknown): asserts value is string | undefined; export declare function checkRecord(name: string, value: unknown): asserts value is Record; export declare function checkOptionalBoolean(name: string, value: unknown): asserts value is boolean | undefined; export declare function checkOptionalNumber(name: string, value: unknown): asserts value is number | undefined; export declare function checkOptionalFunction(name: string, value: unknown): asserts value is Function | undefined; export declare function checkOptionalObject(name: string, value: unknown): asserts value is object; export declare function check(name: string, value: unknown, valid: boolean): void;