export interface Signature { text: string | null; html: string | null; font: string | null; } /** * Load an account's saved email signature from the fixed account-dir convention. * `.txt` and `.html` are returned verbatim (appended byte-for-byte). `.font` is a * single CSS font-family value, trimmed of surrounding whitespace. A missing file * is null, never an error: a draft still composes without a signature. */ export declare function loadSignature(accountDir: string | undefined): Signature; /** * Append the signature to a draft's body/html deterministically, with no model * judgement. The plain-text signature is appended to body whenever present. The * html signature and the font wrap apply only when the caller supplied html: * font is HTML-only and has no plain-text analogue. `applied` is true when at * least one signature part (text or html) was appended; the font wrap alone does * not set it. */ export declare function applySignature(input: { body: string; html?: string; }, sig: Signature): { body: string; html?: string; applied: boolean; }; //# sourceMappingURL=signature.d.ts.map