import { IStickerOptions } from './Types'; import { StickerTypes } from './internal/Metadata/StickerTypes'; import { Categories } from '.'; import { Color } from 'sharp'; export declare class Sticker { private data; metadata: Partial; constructor(data: string | Buffer, metadata?: Partial); private _parse; private _getMimeType; build: () => Promise; toBuffer: () => Promise; get defaultFilename(): string; toFile: (filename?: string) => Promise; setPack: (pack: string) => this; setAuthor: (author: string) => this; setID: (id: string) => this; setCategories: (categories: Categories[]) => this; setType: (type: StickerTypes | string) => this; setQuality: (quality: number) => this; setBackground: (background: Color) => this; /** @deprecated Use `.build()` instead */ get: () => Promise; toMessage: () => Promise<{ sticker: Buffer; }>; static extractMetadata: (image: Buffer) => Promise>; } export declare const createSticker: (...args: ConstructorParameters) => Promise;