import type { CslCustom } from "../csl-json/types"; /** * Validate if a string is a valid UUID v4 */ export declare function isValidUuid(uuid: string): boolean; /** * Generate a new UUID v4 */ export declare function generateUuid(): string; /** * Generate a new ISO 8601 timestamp */ export declare function generateTimestamp(): string; /** * Extract UUID from custom field */ export declare function extractUuidFromCustom(custom: CslCustom | undefined): string | null; /** * Ensure custom metadata has valid UUID, created_at, and timestamp * Handles legacy migration from old timestamp-only format * Generates new values if missing or invalid */ export declare function ensureCustomMetadata(custom: CslCustom | undefined): CslCustom; //# sourceMappingURL=uuid.d.ts.map