/** Lazily creates one instance per factory — shared singleton helper. */ export declare function singleton(factory: () => T): () => T;