import type { ProviderConfig } from "@best-agent/protocol";
import { type ApprovalStore } from "../core/approval-store.js";
import { type ThreadStore } from "../core/thread-store.js";
import { type ModelProvider } from "../provider/model-provider.js";
export declare function createDefaultThreadStore(storageRoot: string): ThreadStore;
export declare function createDefaultApprovalStore(storageRoot: string): ApprovalStore;
export declare function createRuntimeProvider(provider: ModelProvider | undefined, providerConfig?: ProviderConfig): ModelProvider | undefined;
export declare function closeResource(resource: {
    close?: () => void | Promise<void>;
}): Promise<void>;
//# sourceMappingURL=runtime-factory.d.ts.map