type SearchAttribute = { type: 'ATOM' | 'SEQUENCE'; value: string; }; export type MailboxInfo = { flags?: Set; permanentFlags?: Set; }; export type ConnectionCapabilities = { capabilities: Set; enabled: Set; mailbox?: MailboxInfo; }; export type SearchQuery = { all?: boolean; answered?: boolean; bcc?: string; before?: Date | string; body?: string; cc?: string; deleted?: boolean; draft?: boolean; emailId?: string; flagged?: boolean; from?: string; gmRaw?: string; gmailRaw?: string; header?: Record; keyword?: string; larger?: number; modseq?: number; new?: boolean; not?: SearchQuery; old?: boolean; on?: Date | string; or?: SearchQuery[]; recent?: boolean; seen?: boolean; sentBefore?: Date | string; sentOn?: Date | string; sentSince?: Date | string; seq?: string | number; since?: Date | string; smaller?: number; subject?: string; text?: string; threadId?: string; to?: string; uid?: string | number | (string | number)[]; unAnswered?: boolean; unDeleted?: boolean; unDraft?: boolean; unFlagged?: boolean; unKeyword?: string; unSeen?: boolean; }; export declare const compileSearch: (connection: ConnectionCapabilities, query: SearchQuery) => SearchAttribute[]; export {}; //# sourceMappingURL=compiler.d.ts.map