/**
 * Configuration for the persisted decorator.
 *
 * @public
 */
export interface IPersistedConfig<T> {
    defaultValue?: T;
    type?: T;
    storageKey?: string;
    convert?: {
        toStorage?: (value: T) => string;
        fromStorage?: (value: string) => T;
    };
}
/**
 * Decorator for persisted properties.
 *
 * @public
 */
export declare function Persisted<T extends object>(config?: IPersistedConfig<any>): (target: T, propertyKey: string) => void;
//# sourceMappingURL=PersistedDecorator.d.ts.map