import { ConnectionAccessor } from '@membranehq/sdk'; export declare function useConnection(id?: string | undefined): { accessor: ConnectionAccessor | undefined; loading: boolean; saving: boolean; error: any; refresh: () => Promise<{ id: string; name: string; createdAt: string; updatedAt: string; userId: string; key?: string | undefined; isTest?: boolean | undefined; connected?: boolean | undefined; disconnected?: boolean | undefined; isDefunct?: boolean | undefined; state?: import("@membranehq/sdk").WorkspaceElementState | undefined; errors?: import("@membranehq/sdk").ErrorDataSchema[] | undefined; requestError?: import("@membranehq/sdk").ErrorDataSchema | undefined; error?: import("@membranehq/sdk").ErrorDataSchema | undefined; integrationId?: string | undefined; connectorId?: string | undefined; externalAppId?: string | undefined; connectorVersion?: string | undefined; authOptionKey?: string | undefined; lastActiveAt?: string | undefined; nextCredentialsRefreshAt?: string | undefined; nextRetryTimestamp?: string | undefined; retryAttempts?: number | undefined; canTest?: boolean | undefined; canRefreshCredentials?: boolean | undefined; archivedAt?: string | undefined; isDeactivated?: boolean | undefined; meta?: Record | undefined; buildingAgentSessionId?: string | undefined; clientAction?: { type: "connect" | "provide-input"; description: string; uiUrl?: string | undefined; agentInstructions?: string | undefined; } | undefined; tenantId?: string | undefined; user?: { id: string; name: string; internalId: string; meta?: Record | undefined; fields?: Record | undefined; credentials?: any; lastActiveAt?: string | undefined; isTest?: boolean | undefined; isBillable?: boolean | undefined; isActive?: boolean | undefined; aiCreditsRolling30DayLimit?: number | null | undefined; createdAt?: string | undefined; archivedAt?: string | undefined; } | undefined; integration?: { id: string; name: string; logoUri: string; uuid?: string | undefined; key?: string | undefined; description?: string | undefined; meta?: Record | undefined; state?: import("@membranehq/sdk").WorkspaceElementState | undefined; errors?: import("@membranehq/sdk").ErrorDataSchema[] | undefined; revision?: string | undefined; createdAt?: string | undefined; updatedAt?: string | undefined; isReadOnly?: boolean | undefined; connectorId?: string | undefined; connectorVersion?: string | undefined; oAuthCallbackUri?: string | undefined; parameters?: any; archivedAt?: string | undefined; hasMissingParameters?: boolean | undefined; hasDocumentation?: boolean | undefined; hasOperations?: boolean | undefined; operationsCount?: number | undefined; hasData?: boolean | undefined; dataCollectionsCount?: number | undefined; hasEvents?: boolean | undefined; eventsCount?: number | undefined; hasGlobalWebhooks?: boolean | undefined; hasUdm?: boolean | undefined; isTest?: boolean | undefined; externalAppId?: string | undefined; appUuid?: string | undefined; isDeactivated?: boolean | undefined; authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined; optionsConfig?: Record | undefined; }> | undefined; } | undefined; connectorParameters?: unknown; input?: unknown; }>; refreshing: boolean; create: (data: { name?: string | undefined; meta?: Record | undefined; authOptionKey?: string | undefined; key?: string | null | undefined; integrationId?: string | undefined; integrationUuid?: string | undefined; integrationKey?: string | undefined; connectorId?: string | undefined; connectorUuid?: string | undefined; connectorKey?: string | undefined; connectorVersion?: string | undefined; externalAppId?: string | undefined; externalAppUuid?: string | undefined; credentials?: unknown; connectorParameters?: unknown; input?: unknown; intent?: string | undefined; }) => Promise<{ id: string; name: string; createdAt: string; updatedAt: string; userId: string; key?: string | undefined; isTest?: boolean | undefined; connected?: boolean | undefined; disconnected?: boolean | undefined; isDefunct?: boolean | undefined; state?: import("@membranehq/sdk").WorkspaceElementState | undefined; errors?: import("@membranehq/sdk").ErrorDataSchema[] | undefined; requestError?: import("@membranehq/sdk").ErrorDataSchema | undefined; error?: import("@membranehq/sdk").ErrorDataSchema | undefined; integrationId?: string | undefined; connectorId?: string | undefined; externalAppId?: string | undefined; connectorVersion?: string | undefined; authOptionKey?: string | undefined; lastActiveAt?: string | undefined; nextCredentialsRefreshAt?: string | undefined; nextRetryTimestamp?: string | undefined; retryAttempts?: number | undefined; canTest?: boolean | undefined; canRefreshCredentials?: boolean | undefined; archivedAt?: string | undefined; isDeactivated?: boolean | undefined; meta?: Record | undefined; buildingAgentSessionId?: string | undefined; clientAction?: { type: "connect" | "provide-input"; description: string; uiUrl?: string | undefined; agentInstructions?: string | undefined; } | undefined; tenantId?: string | undefined; user?: { id: string; name: string; internalId: string; meta?: Record | undefined; fields?: Record | undefined; credentials?: any; lastActiveAt?: string | undefined; isTest?: boolean | undefined; isBillable?: boolean | undefined; isActive?: boolean | undefined; aiCreditsRolling30DayLimit?: number | null | undefined; createdAt?: string | undefined; archivedAt?: string | undefined; } | undefined; integration?: { id: string; name: string; logoUri: string; uuid?: string | undefined; key?: string | undefined; description?: string | undefined; meta?: Record | undefined; state?: import("@membranehq/sdk").WorkspaceElementState | undefined; errors?: import("@membranehq/sdk").ErrorDataSchema[] | undefined; revision?: string | undefined; createdAt?: string | undefined; updatedAt?: string | undefined; isReadOnly?: boolean | undefined; connectorId?: string | undefined; connectorVersion?: string | undefined; oAuthCallbackUri?: string | undefined; parameters?: any; archivedAt?: string | undefined; hasMissingParameters?: boolean | undefined; hasDocumentation?: boolean | undefined; hasOperations?: boolean | undefined; operationsCount?: number | undefined; hasData?: boolean | undefined; dataCollectionsCount?: number | undefined; hasEvents?: boolean | undefined; eventsCount?: number | undefined; hasGlobalWebhooks?: boolean | undefined; hasUdm?: boolean | undefined; isTest?: boolean | undefined; externalAppId?: string | undefined; appUuid?: string | undefined; isDeactivated?: boolean | undefined; authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined; optionsConfig?: Record | undefined; }> | undefined; } | undefined; connectorParameters?: unknown; input?: unknown; } | undefined>; patch: (data: Partial<{ name?: string | undefined; meta?: Record | undefined; authOptionKey?: string | undefined; key?: string | null | undefined; integrationId?: string | undefined; integrationUuid?: string | undefined; integrationKey?: string | undefined; connectorId?: string | undefined; connectorUuid?: string | undefined; connectorKey?: string | undefined; connectorVersion?: string | undefined; externalAppId?: string | undefined; externalAppUuid?: string | undefined; credentials?: unknown; connectorParameters?: unknown; input?: unknown; intent?: string | undefined; }>, options?: (Omit | undefined; buildingAgentSessionId?: string | undefined; clientAction?: { type: "connect" | "provide-input"; description: string; uiUrl?: string | undefined; agentInstructions?: string | undefined; } | undefined; tenantId?: string | undefined; user?: { id: string; name: string; internalId: string; meta?: Record | undefined; fields?: Record | undefined; credentials?: any; lastActiveAt?: string | undefined; isTest?: boolean | undefined; isBillable?: boolean | undefined; isActive?: boolean | undefined; aiCreditsRolling30DayLimit?: number | null | undefined; createdAt?: string | undefined; archivedAt?: string | undefined; } | undefined; integration?: { id: string; name: string; logoUri: string; uuid?: string | undefined; key?: string | undefined; description?: string | undefined; meta?: Record | undefined; state?: import("@membranehq/sdk").WorkspaceElementState | undefined; errors?: import("@membranehq/sdk").ErrorDataSchema[] | undefined; revision?: string | undefined; createdAt?: string | undefined; updatedAt?: string | undefined; isReadOnly?: boolean | undefined; connectorId?: string | undefined; connectorVersion?: string | undefined; oAuthCallbackUri?: string | undefined; parameters?: any; archivedAt?: string | undefined; hasMissingParameters?: boolean | undefined; hasDocumentation?: boolean | undefined; hasOperations?: boolean | undefined; operationsCount?: number | undefined; hasData?: boolean | undefined; dataCollectionsCount?: number | undefined; hasEvents?: boolean | undefined; eventsCount?: number | undefined; hasGlobalWebhooks?: boolean | undefined; hasUdm?: boolean | undefined; isTest?: boolean | undefined; externalAppId?: string | undefined; appUuid?: string | undefined; isDeactivated?: boolean | undefined; authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined; optionsConfig?: Record | undefined; }> | undefined; } | undefined; connectorParameters?: unknown; input?: unknown; } | undefined, { id: string; name: string; createdAt: string; updatedAt: string; userId: string; key?: string | undefined; isTest?: boolean | undefined; connected?: boolean | undefined; disconnected?: boolean | undefined; isDefunct?: boolean | undefined; state?: import("@membranehq/sdk").WorkspaceElementState | undefined; errors?: import("@membranehq/sdk").ErrorDataSchema[] | undefined; requestError?: import("@membranehq/sdk").ErrorDataSchema | undefined; error?: import("@membranehq/sdk").ErrorDataSchema | undefined; integrationId?: string | undefined; connectorId?: string | undefined; externalAppId?: string | undefined; connectorVersion?: string | undefined; authOptionKey?: string | undefined; lastActiveAt?: string | undefined; nextCredentialsRefreshAt?: string | undefined; nextRetryTimestamp?: string | undefined; retryAttempts?: number | undefined; canTest?: boolean | undefined; canRefreshCredentials?: boolean | undefined; archivedAt?: string | undefined; isDeactivated?: boolean | undefined; meta?: Record | undefined; buildingAgentSessionId?: string | undefined; clientAction?: { type: "connect" | "provide-input"; description: string; uiUrl?: string | undefined; agentInstructions?: string | undefined; } | undefined; tenantId?: string | undefined; user?: { id: string; name: string; internalId: string; meta?: Record | undefined; fields?: Record | undefined; credentials?: any; lastActiveAt?: string | undefined; isTest?: boolean | undefined; isBillable?: boolean | undefined; isActive?: boolean | undefined; aiCreditsRolling30DayLimit?: number | null | undefined; createdAt?: string | undefined; archivedAt?: string | undefined; } | undefined; integration?: { id: string; name: string; logoUri: string; uuid?: string | undefined; key?: string | undefined; description?: string | undefined; meta?: Record | undefined; state?: import("@membranehq/sdk").WorkspaceElementState | undefined; errors?: import("@membranehq/sdk").ErrorDataSchema[] | undefined; revision?: string | undefined; createdAt?: string | undefined; updatedAt?: string | undefined; isReadOnly?: boolean | undefined; connectorId?: string | undefined; connectorVersion?: string | undefined; oAuthCallbackUri?: string | undefined; parameters?: any; archivedAt?: string | undefined; hasMissingParameters?: boolean | undefined; hasDocumentation?: boolean | undefined; hasOperations?: boolean | undefined; operationsCount?: number | undefined; hasData?: boolean | undefined; dataCollectionsCount?: number | undefined; hasEvents?: boolean | undefined; eventsCount?: number | undefined; hasGlobalWebhooks?: boolean | undefined; hasUdm?: boolean | undefined; isTest?: boolean | undefined; externalAppId?: string | undefined; appUuid?: string | undefined; isDeactivated?: boolean | undefined; authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined; optionsConfig?: Record | undefined; }> | undefined; } | undefined; connectorParameters?: unknown; input?: unknown; }>, "optimisticData"> & { optimisticData?: { id: string; name: string; createdAt: string; updatedAt: string; userId: string; key?: string | undefined; isTest?: boolean | undefined; connected?: boolean | undefined; disconnected?: boolean | undefined; isDefunct?: boolean | undefined; state?: import("@membranehq/sdk").WorkspaceElementState | undefined; errors?: import("@membranehq/sdk").ErrorDataSchema[] | undefined; requestError?: import("@membranehq/sdk").ErrorDataSchema | undefined; error?: import("@membranehq/sdk").ErrorDataSchema | undefined; integrationId?: string | undefined; connectorId?: string | undefined; externalAppId?: string | undefined; connectorVersion?: string | undefined; authOptionKey?: string | undefined; lastActiveAt?: string | undefined; nextCredentialsRefreshAt?: string | undefined; nextRetryTimestamp?: string | undefined; retryAttempts?: number | undefined; canTest?: boolean | undefined; canRefreshCredentials?: boolean | undefined; archivedAt?: string | undefined; isDeactivated?: boolean | undefined; meta?: Record | undefined; buildingAgentSessionId?: string | undefined; clientAction?: { type: "connect" | "provide-input"; description: string; uiUrl?: string | undefined; agentInstructions?: string | undefined; } | undefined; tenantId?: string | undefined; user?: { id: string; name: string; internalId: string; meta?: Record | undefined; fields?: Record | undefined; credentials?: any; lastActiveAt?: string | undefined; isTest?: boolean | undefined; isBillable?: boolean | undefined; isActive?: boolean | undefined; aiCreditsRolling30DayLimit?: number | null | undefined; createdAt?: string | undefined; archivedAt?: string | undefined; } | undefined; integration?: { id: string; name: string; logoUri: string; uuid?: string | undefined; key?: string | undefined; description?: string | undefined; meta?: Record | undefined; state?: import("@membranehq/sdk").WorkspaceElementState | undefined; errors?: import("@membranehq/sdk").ErrorDataSchema[] | undefined; revision?: string | undefined; createdAt?: string | undefined; updatedAt?: string | undefined; isReadOnly?: boolean | undefined; connectorId?: string | undefined; connectorVersion?: string | undefined; oAuthCallbackUri?: string | undefined; parameters?: any; archivedAt?: string | undefined; hasMissingParameters?: boolean | undefined; hasDocumentation?: boolean | undefined; hasOperations?: boolean | undefined; operationsCount?: number | undefined; hasData?: boolean | undefined; dataCollectionsCount?: number | undefined; hasEvents?: boolean | undefined; eventsCount?: number | undefined; hasGlobalWebhooks?: boolean | undefined; hasUdm?: boolean | undefined; isTest?: boolean | undefined; externalAppId?: string | undefined; appUuid?: string | undefined; isDeactivated?: boolean | undefined; authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined; optionsConfig?: Record | undefined; }> | undefined; } | undefined; connectorParameters?: unknown; input?: unknown; } | undefined; }) | undefined) => Promise; put: (data: { name?: string | undefined; meta?: Record | undefined; authOptionKey?: string | undefined; key?: string | null | undefined; integrationId?: string | undefined; integrationUuid?: string | undefined; integrationKey?: string | undefined; connectorId?: string | undefined; connectorUuid?: string | undefined; connectorKey?: string | undefined; connectorVersion?: string | undefined; externalAppId?: string | undefined; externalAppUuid?: string | undefined; credentials?: unknown; connectorParameters?: unknown; input?: unknown; intent?: string | undefined; }, options?: Omit | undefined; buildingAgentSessionId?: string | undefined; clientAction?: { type: "connect" | "provide-input"; description: string; uiUrl?: string | undefined; agentInstructions?: string | undefined; } | undefined; tenantId?: string | undefined; user?: { id: string; name: string; internalId: string; meta?: Record | undefined; fields?: Record | undefined; credentials?: any; lastActiveAt?: string | undefined; isTest?: boolean | undefined; isBillable?: boolean | undefined; isActive?: boolean | undefined; aiCreditsRolling30DayLimit?: number | null | undefined; createdAt?: string | undefined; archivedAt?: string | undefined; } | undefined; integration?: { id: string; name: string; logoUri: string; uuid?: string | undefined; key?: string | undefined; description?: string | undefined; meta?: Record | undefined; state?: import("@membranehq/sdk").WorkspaceElementState | undefined; errors?: import("@membranehq/sdk").ErrorDataSchema[] | undefined; revision?: string | undefined; createdAt?: string | undefined; updatedAt?: string | undefined; isReadOnly?: boolean | undefined; connectorId?: string | undefined; connectorVersion?: string | undefined; oAuthCallbackUri?: string | undefined; parameters?: any; archivedAt?: string | undefined; hasMissingParameters?: boolean | undefined; hasDocumentation?: boolean | undefined; hasOperations?: boolean | undefined; operationsCount?: number | undefined; hasData?: boolean | undefined; dataCollectionsCount?: number | undefined; hasEvents?: boolean | undefined; eventsCount?: number | undefined; hasGlobalWebhooks?: boolean | undefined; hasUdm?: boolean | undefined; isTest?: boolean | undefined; externalAppId?: string | undefined; appUuid?: string | undefined; isDeactivated?: boolean | undefined; authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined; optionsConfig?: Record | undefined; }> | undefined; } | undefined; connectorParameters?: unknown; input?: unknown; } | undefined, { id: string; name: string; createdAt: string; updatedAt: string; userId: string; key?: string | undefined; isTest?: boolean | undefined; connected?: boolean | undefined; disconnected?: boolean | undefined; isDefunct?: boolean | undefined; state?: import("@membranehq/sdk").WorkspaceElementState | undefined; errors?: import("@membranehq/sdk").ErrorDataSchema[] | undefined; requestError?: import("@membranehq/sdk").ErrorDataSchema | undefined; error?: import("@membranehq/sdk").ErrorDataSchema | undefined; integrationId?: string | undefined; connectorId?: string | undefined; externalAppId?: string | undefined; connectorVersion?: string | undefined; authOptionKey?: string | undefined; lastActiveAt?: string | undefined; nextCredentialsRefreshAt?: string | undefined; nextRetryTimestamp?: string | undefined; retryAttempts?: number | undefined; canTest?: boolean | undefined; canRefreshCredentials?: boolean | undefined; archivedAt?: string | undefined; isDeactivated?: boolean | undefined; meta?: Record | undefined; buildingAgentSessionId?: string | undefined; clientAction?: { type: "connect" | "provide-input"; description: string; uiUrl?: string | undefined; agentInstructions?: string | undefined; } | undefined; tenantId?: string | undefined; user?: { id: string; name: string; internalId: string; meta?: Record | undefined; fields?: Record | undefined; credentials?: any; lastActiveAt?: string | undefined; isTest?: boolean | undefined; isBillable?: boolean | undefined; isActive?: boolean | undefined; aiCreditsRolling30DayLimit?: number | null | undefined; createdAt?: string | undefined; archivedAt?: string | undefined; } | undefined; integration?: { id: string; name: string; logoUri: string; uuid?: string | undefined; key?: string | undefined; description?: string | undefined; meta?: Record | undefined; state?: import("@membranehq/sdk").WorkspaceElementState | undefined; errors?: import("@membranehq/sdk").ErrorDataSchema[] | undefined; revision?: string | undefined; createdAt?: string | undefined; updatedAt?: string | undefined; isReadOnly?: boolean | undefined; connectorId?: string | undefined; connectorVersion?: string | undefined; oAuthCallbackUri?: string | undefined; parameters?: any; archivedAt?: string | undefined; hasMissingParameters?: boolean | undefined; hasDocumentation?: boolean | undefined; hasOperations?: boolean | undefined; operationsCount?: number | undefined; hasData?: boolean | undefined; dataCollectionsCount?: number | undefined; hasEvents?: boolean | undefined; eventsCount?: number | undefined; hasGlobalWebhooks?: boolean | undefined; hasUdm?: boolean | undefined; isTest?: boolean | undefined; externalAppId?: string | undefined; appUuid?: string | undefined; isDeactivated?: boolean | undefined; authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined; optionsConfig?: Record | undefined; }> | undefined; } | undefined; connectorParameters?: unknown; input?: unknown; }>, "optimisticData"> & { optimisticData?: { id: string; name: string; createdAt: string; updatedAt: string; userId: string; key?: string | undefined; isTest?: boolean | undefined; connected?: boolean | undefined; disconnected?: boolean | undefined; isDefunct?: boolean | undefined; state?: import("@membranehq/sdk").WorkspaceElementState | undefined; errors?: import("@membranehq/sdk").ErrorDataSchema[] | undefined; requestError?: import("@membranehq/sdk").ErrorDataSchema | undefined; error?: import("@membranehq/sdk").ErrorDataSchema | undefined; integrationId?: string | undefined; connectorId?: string | undefined; externalAppId?: string | undefined; connectorVersion?: string | undefined; authOptionKey?: string | undefined; lastActiveAt?: string | undefined; nextCredentialsRefreshAt?: string | undefined; nextRetryTimestamp?: string | undefined; retryAttempts?: number | undefined; canTest?: boolean | undefined; canRefreshCredentials?: boolean | undefined; archivedAt?: string | undefined; isDeactivated?: boolean | undefined; meta?: Record | undefined; buildingAgentSessionId?: string | undefined; clientAction?: { type: "connect" | "provide-input"; description: string; uiUrl?: string | undefined; agentInstructions?: string | undefined; } | undefined; tenantId?: string | undefined; user?: { id: string; name: string; internalId: string; meta?: Record | undefined; fields?: Record | undefined; credentials?: any; lastActiveAt?: string | undefined; isTest?: boolean | undefined; isBillable?: boolean | undefined; isActive?: boolean | undefined; aiCreditsRolling30DayLimit?: number | null | undefined; createdAt?: string | undefined; archivedAt?: string | undefined; } | undefined; integration?: { id: string; name: string; logoUri: string; uuid?: string | undefined; key?: string | undefined; description?: string | undefined; meta?: Record | undefined; state?: import("@membranehq/sdk").WorkspaceElementState | undefined; errors?: import("@membranehq/sdk").ErrorDataSchema[] | undefined; revision?: string | undefined; createdAt?: string | undefined; updatedAt?: string | undefined; isReadOnly?: boolean | undefined; connectorId?: string | undefined; connectorVersion?: string | undefined; oAuthCallbackUri?: string | undefined; parameters?: any; archivedAt?: string | undefined; hasMissingParameters?: boolean | undefined; hasDocumentation?: boolean | undefined; hasOperations?: boolean | undefined; operationsCount?: number | undefined; hasData?: boolean | undefined; dataCollectionsCount?: number | undefined; hasEvents?: boolean | undefined; eventsCount?: number | undefined; hasGlobalWebhooks?: boolean | undefined; hasUdm?: boolean | undefined; isTest?: boolean | undefined; externalAppId?: string | undefined; appUuid?: string | undefined; isDeactivated?: boolean | undefined; authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined; optionsConfig?: Record | undefined; }> | undefined; } | undefined; connectorParameters?: unknown; input?: unknown; } | undefined; }) => Promise; archive: () => Promise; connection: { id: string; name: string; createdAt: string; updatedAt: string; userId: string; key?: string | undefined; isTest?: boolean | undefined; connected?: boolean | undefined; disconnected?: boolean | undefined; isDefunct?: boolean | undefined; state?: import("@membranehq/sdk").WorkspaceElementState | undefined; errors?: import("@membranehq/sdk").ErrorDataSchema[] | undefined; requestError?: import("@membranehq/sdk").ErrorDataSchema | undefined; error?: import("@membranehq/sdk").ErrorDataSchema | undefined; integrationId?: string | undefined; connectorId?: string | undefined; externalAppId?: string | undefined; connectorVersion?: string | undefined; authOptionKey?: string | undefined; lastActiveAt?: string | undefined; nextCredentialsRefreshAt?: string | undefined; nextRetryTimestamp?: string | undefined; retryAttempts?: number | undefined; canTest?: boolean | undefined; canRefreshCredentials?: boolean | undefined; archivedAt?: string | undefined; isDeactivated?: boolean | undefined; meta?: Record | undefined; buildingAgentSessionId?: string | undefined; clientAction?: { type: "connect" | "provide-input"; description: string; uiUrl?: string | undefined; agentInstructions?: string | undefined; } | undefined; tenantId?: string | undefined; user?: { id: string; name: string; internalId: string; meta?: Record | undefined; fields?: Record | undefined; credentials?: any; lastActiveAt?: string | undefined; isTest?: boolean | undefined; isBillable?: boolean | undefined; isActive?: boolean | undefined; aiCreditsRolling30DayLimit?: number | null | undefined; createdAt?: string | undefined; archivedAt?: string | undefined; } | undefined; integration?: { id: string; name: string; logoUri: string; uuid?: string | undefined; key?: string | undefined; description?: string | undefined; meta?: Record | undefined; state?: import("@membranehq/sdk").WorkspaceElementState | undefined; errors?: import("@membranehq/sdk").ErrorDataSchema[] | undefined; revision?: string | undefined; createdAt?: string | undefined; updatedAt?: string | undefined; isReadOnly?: boolean | undefined; connectorId?: string | undefined; connectorVersion?: string | undefined; oAuthCallbackUri?: string | undefined; parameters?: any; archivedAt?: string | undefined; hasMissingParameters?: boolean | undefined; hasDocumentation?: boolean | undefined; hasOperations?: boolean | undefined; operationsCount?: number | undefined; hasData?: boolean | undefined; dataCollectionsCount?: number | undefined; hasEvents?: boolean | undefined; eventsCount?: number | undefined; hasGlobalWebhooks?: boolean | undefined; hasUdm?: boolean | undefined; isTest?: boolean | undefined; externalAppId?: string | undefined; appUuid?: string | undefined; isDeactivated?: boolean | undefined; authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined; optionsConfig?: Record | undefined; }> | undefined; } | undefined; connectorParameters?: unknown; input?: unknown; } | undefined; };