export declare function retrieveState(stateName: string, key: any, creator: () => T): any;