import type { GeolocationConfig, PresetConfig, ViewportConfig } from '../types'; export declare const BUILT_IN_PRESETS: Record; /** * Load custom presets from a JSON file. * Custom presets override built-in presets with the same name. */ export declare function loadCustomPresets(filePath?: string): void; /** * Get all available presets (built-in + custom, custom overrides built-in). */ export declare function getAllPresets(): Record; /** * Resolve a named preset to context options. */ export declare function resolvePreset(name?: string): unknown | null; /** * Validate context options. */ export declare function validateContextOptions(opts: unknown): string | null; export interface ResolvedContextOptions { locale?: string; timezoneId?: string; geolocation?: GeolocationConfig; viewport?: ViewportConfig; } /** * Resolve context options from request params. * Priority: individual fields override preset defaults. */ export declare function resolveContextOptions(params: unknown): ResolvedContextOptions | null; /** * Generate a deterministic hash for context options. * Used as part of the session key to isolate different presets. */ export declare function contextHash(opts: ResolvedContextOptions | null): string; //# sourceMappingURL=presets.d.ts.map