import { Optional } from './Optional'; interface Singleton { readonly clear: () => void; readonly isSet: () => boolean; readonly get: () => Optional; readonly set: (value: T) => void; } export interface Repeatable { readonly clear: () => void; readonly isSet: () => boolean; readonly get: () => Optional; readonly set: (functionToRepeat: () => void) => void; } export interface Revocable extends Singleton { } export interface Api extends Singleton { readonly run: (fn: (data: T) => void) => void; } export interface Value extends Singleton { readonly on: (fn: (data: T) => void) => void; } export declare const repeatable: (delay: number) => Repeatable; export declare const destroyable: void; }>() => Revocable; export declare const unbindable: void; }>() => Revocable; export declare const api: void; }>() => Api; export declare const value: () => Value; export {}; //# sourceMappingURL=Singleton.d.ts.map