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