/** * Error thrown when a value cannot be cast to the requested type in strict mode */ export declare class StateInvalidCast extends Error { key: string; storage: string; value: unknown; type: string; /** * Creates a new StateInvalidCast error * @param key - The key of the value that failed to cast * @param storage - The storage type where the value is stored * @param value - The actual value that failed to cast * @param type - The target type that the cast failed to */ constructor(key: string, storage: string | undefined, value: unknown, type: string); }