export type DiskAttachment = {
    disk: string;
    path: string;
    filename?: string;
};
export type InlineAttachment = {
    content: Buffer | string;
    filename: string;
};
export type AttachmentInput = DiskAttachment | InlineAttachment;
export type ResolvedAttachment = {
    filename: string;
    content: Buffer;
};
export type StorageLike = {
    get: (disk: string, path: string) => Promise<Buffer> | Buffer;
    exists?: (disk: string, path: string) => Promise<boolean> | boolean;
    url?: (disk: string, path: string) => string;
};
export declare function resolveAttachments(attachments: Array<AttachmentInput> | undefined, options?: {
    storage?: StorageLike;
}): Promise<ResolvedAttachment[]>;
//# sourceMappingURL=attachments.d.ts.map