///
import type { AttachmentBuilder } from 'discord.js';
import type { RenderMessageContext } from '../../discord-html-transcripts/dist/generator';
export declare type AttachmentTypes = 'audio' | 'video' | 'image' | 'file';
export declare enum ExportReturnType {
Buffer = "buffer",
String = "string",
Attachment = "attachment"
}
export declare type ObjectType = T extends ExportReturnType.Buffer ? Buffer : T extends ExportReturnType.String ? string : AttachmentBuilder;
export declare type GenerateFromMessagesOptions = Partial<{
/**
* The type of object to return
* @default ExportReturnType.ATTACHMENT
*/
returnType: T;
/**
* Downloads images and encodes them as base64 data urls
* @default false
*/
saveImages: boolean;
/**
* Callbacks for resolving channels, users, and roles
*/
callbacks: RenderMessageContext['callbacks'];
/**
* The name of the file to return if returnType is ExportReturnType.ATTACHMENT
* @default 'transcript-{channel-id}.html'
*/
filename: string;
/**
* Whether to include the "Powered by discord-html-transcripts" footer
* @default true
*/
poweredBy: boolean;
/**
* Whether to show the guild icon or a custom icon as the favicon
* 'guild' - use the guild icon
* or pass in a url to use a custom icon
* @default "guild"
*/
favicon: 'guild' | string;
}>;
export declare type CreateTranscriptOptions = Partial & {
/**
* The max amount of messages to fetch. Use `-1` to recursively fetch.
*/
limit: number;
}>;