type Init = T | (() => T); type UpdateFn = (prev: T) => T; type Update = T | UpdateFn; type Setter = (update: Update) => void; type Result = [T, Setter]; export declare function useProperty(prop: string): Result; export declare function useProperty(prop: string, init: Init): Result; export {};