/** * integrations/application — createIntegrationTools canonical implementation. * * Creates integration tools for the chat agent. Exposes `import_gmail_contacts` * which authenticates via the integration adapter, fetches all Gmail contacts * (paginated), and imports them as ghost users into the network. * * Feature gating: import_gmail_contacts creates ghost users, so it is gated * behind the CONTACTS_ENABLED flag (deps.contactsEnabled). When disabled, * the tool is not registered at all (defineTool registers as a side effect). * * IND-549: moved from integration/integration.tools.ts into the canonical * integrations/application layer. */ import type { DefineTool } from '../../shared/agent/tool.helpers.js'; import type { IntegrationToolDeps } from '../ports/index.js'; /** * Creates integration tools for the chat agent. * * Exposes `import_gmail_contacts` which authenticates via the integration adapter, * fetches all Gmail contacts (paginated), and imports them as ghost users into the network. * * @param defineTool - Tool definition helper injected by the tool registry. * @param deps - Shared tool dependencies including the integration adapter. * @returns An array of tool definitions to register with the chat agent. */ export declare function createIntegrationTools(defineTool: DefineTool, deps: IntegrationToolDeps): any[];