import { Workflow, WorkflowListParams, WorkflowListResponse, Execution, ExecutionListParams, ExecutionListResponse, Credential, CredentialListParams, CredentialListResponse, Tag, TagListParams, TagListResponse, HealthCheckResponse, N8nVersionInfo, Variable, WebhookRequest, SourceControlStatus, SourceControlPullResult, SourceControlPushResult } from '../types/n8n-api'; export interface N8nApiClientConfig { baseUrl: string; apiKey: string; timeout?: number; maxRetries?: number; } export declare class N8nApiClient { private client; private maxRetries; private baseUrl; private versionInfo; private versionFetched; constructor(config: N8nApiClientConfig); getVersion(): Promise; getCachedVersionInfo(): N8nVersionInfo | null; healthCheck(): Promise; createWorkflow(workflow: Partial): Promise; getWorkflow(id: string): Promise; updateWorkflow(id: string, workflow: Partial): Promise; deleteWorkflow(id: string): Promise; activateWorkflow(id: string): Promise; deactivateWorkflow(id: string): Promise; listWorkflows(params?: WorkflowListParams): Promise; getExecution(id: string, includeData?: boolean): Promise; listExecutions(params?: ExecutionListParams): Promise; deleteExecution(id: string): Promise; triggerWebhook(request: WebhookRequest): Promise; listCredentials(params?: CredentialListParams): Promise; getCredential(id: string): Promise; createCredential(credential: Partial): Promise; updateCredential(id: string, credential: Partial): Promise; deleteCredential(id: string): Promise; listTags(params?: TagListParams): Promise; createTag(tag: Partial): Promise; updateTag(id: string, tag: Partial): Promise; deleteTag(id: string): Promise; getSourceControlStatus(): Promise; pullSourceControl(force?: boolean): Promise; pushSourceControl(message: string, fileNames?: string[]): Promise; getVariables(): Promise; createVariable(variable: Partial): Promise; updateVariable(id: string, variable: Partial): Promise; deleteVariable(id: string): Promise; private validateListResponse; } //# sourceMappingURL=n8n-api-client.d.ts.map