import { type ExtractModuleContext, type Facade, type FacadeModule, type FacadeModuleFactory } from './interfaces.js';
export type FacadeModuleFactoryCb<TConfig, TModule extends FacadeModule> = (facade: Facade<[TModule]>, config: TConfig) => void;
export declare const createFacadeModuleFactory: <TConfig = any, TModule extends FacadeModule = FacadeModule>(moduleName: string, fn: FacadeModuleFactoryCb<TConfig, TModule>) => FacadeModuleFactory<TConfig, ExtractModuleContext<TModule>>;
export type FacadeModuleCb<TModule extends FacadeModule> = (facade: Facade<[TModule]>) => void;
export declare const createFacadeModule: <TModule extends FacadeModule = FacadeModule>(moduleName: string, module: FacadeModuleCb<TModule>) => TModule;
export declare const decomposeError: (error: any) => {
    name: any;
    code: any;
    message: any;
    details: any;
    error_description: any;
    stack: any;
};
//# sourceMappingURL=utils.d.ts.map