import type { ScopeId } from '@/types';
export declare const createSingletonHook: <T, A extends [ScopeId, ...unknown[]]>(create: (...args: A) => T) => {
    (...args: A | [ScopeId]): NonNullable<T>;
    getByKey(scopeId: string): T | undefined;
};
