import type { GradientConfig, CaptionConfig, DeviceConfig } from '../types.js';
export interface ComposeOptions {
    screenshot: Buffer;
    frame?: Buffer | null;
    frameMetadata?: {
        frameWidth: number;
        frameHeight: number;
        screenRect: {
            x: number;
            y: number;
            width: number;
            height: number;
        };
        maskPath?: string;
        deviceType?: 'iphone' | 'ipad' | 'mac' | 'watch';
        displayName?: string;
        name?: string;
    };
    caption?: string;
    captionConfig: CaptionConfig;
    gradientConfig: GradientConfig;
    deviceConfig: DeviceConfig;
    outputWidth: number;
    outputHeight: number;
    verbose?: boolean;
}
/**
 * Compose a complete App Store screenshot with gradient, caption, and framed device
 */
export declare function composeAppStoreScreenshot(options: ComposeOptions): Promise<Buffer>;
/**
 * Get a safe font stack that Sharp's SVG renderer can use
 */
export declare function getFontStackAsync(requestedFont: string): Promise<{
    stack: string;
    isEmbedded: boolean;
    path?: string;
}>;
export declare function getFontStack(requestedFont: string): string;
//# sourceMappingURL=compose.d.ts.map