import { ICredentialTestFunctions, ICredentialsDecrypted, IExecuteFunctions, INodeCredentialTestResult, INodeExecutionData, INodeType, INodeTypeDescription, Logger as N8nLogger } from 'n8n-workflow'; import { IResourceOperationDef } from './utils/CommonDefinitions'; import { loadMailboxList } from './utils/SearchFieldParameters'; import { ImapNodeDebugParameters } from './utils/debug/ImapNodeDebugUtils'; import { DebugLoggerWatcher } from './utils/debug/DebugLoggerWatcher'; import { ImapFlow } from 'imapflow'; export declare class Imap implements INodeType { description: INodeTypeDescription; execute(this: IExecuteFunctions): Promise; methods: { listSearch: { loadMailboxList: typeof loadMailboxList; }; credentialTest: { testImapCredentials(this: ICredentialTestFunctions, credential: ICredentialsDecrypted): Promise; }; }; } export declare function executeWithHandler(context: IExecuteFunctions, client: ImapFlow, handler: IResourceOperationDef, nodeLogger?: N8nLogger, debugParameters?: ImapNodeDebugParameters, loggerWatcher?: DebugLoggerWatcher): Promise;