import type { Connector, ConnectorDefinition } from './types.js'; /** * Define a tool connector to an external service. Validates the shape and fills * defaults, returning a {@link Connector} ready to pass to `mountConnectors`. * * ```ts * export default defineConnector({ * id: 'github', * auth: { type: 'oauth', scopes: ['repo'] }, * tools: [{ name: 'list-issues', schema: ..., handle: async (input, ctx) => ... }], * }) * ``` */ export declare function defineConnector(def: ConnectorDefinition): Connector; //# sourceMappingURL=defineConnector.d.ts.map