import type { DaoCoreConfig } from "../../config/types.daocore.js";
import type { RuntimeWebFetchMetadata, RuntimeWebSearchMetadata } from "../../secrets/runtime-web-tools.types.js";
type WebProviderRuntimeMetadata = RuntimeWebFetchMetadata | RuntimeWebSearchMetadata;
type ResolvedWebToolRuntimeContext<TMetadata extends WebProviderRuntimeMetadata> = {
    config?: DaoCoreConfig;
    preferRuntimeProviders: boolean;
    runtimeMetadata?: TMetadata;
};
export declare function resolveWebSearchToolRuntimeContext(params: {
    config?: DaoCoreConfig;
    lateBindRuntimeConfig?: boolean;
    runtimeWebSearch?: RuntimeWebSearchMetadata;
}): ResolvedWebToolRuntimeContext<RuntimeWebSearchMetadata> & {
    runtimeWebSearch?: RuntimeWebSearchMetadata;
};
export declare function resolveWebFetchToolRuntimeContext(params: {
    config?: DaoCoreConfig;
    lateBindRuntimeConfig?: boolean;
    runtimeWebFetch?: RuntimeWebFetchMetadata;
}): ResolvedWebToolRuntimeContext<RuntimeWebFetchMetadata> & {
    runtimeWebFetch?: RuntimeWebFetchMetadata;
};
export {};
