import type { RemoteToolSource } from "../tool/types.js"; import { type LocalIntegrationEndpointTransport } from "./local-endpoint-executor.js"; /** Resolve one local integration credential by its canonical environment-variable name. */ export type LocalIntegrationCredentialProvider = (environmentVariableName: string) => string | undefined | Promise; /** Options for a catalog-backed local integration tool source. */ export interface LocalIntegrationToolSourceOptions { /** Exact canonical catalog tool IDs granted to this source. */ tools: readonly string[]; /** Defaults to the active project-scoped environment. */ credentialProvider?: LocalIntegrationCredentialProvider; } /** Create an explicitly granted, catalog-backed local integration tool source. */ export declare function createLocalIntegrationToolSource(options: LocalIntegrationToolSourceOptions): RemoteToolSource; /** @internal Test-only transport seam; not exported from the public integrations module. */ export declare function _createLocalIntegrationToolSourceForTesting(options: LocalIntegrationToolSourceOptions, transport: LocalIntegrationEndpointTransport): RemoteToolSource; //# sourceMappingURL=local-tool-source.d.ts.map