/** * Error thrown when a value cannot be cast to the requested type in strict mode. */ export declare class StateInvalidCast extends Error { readonly key: string; readonly storage: string; readonly value: unknown; readonly 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); }