import type { AppIcon } from '../../interfaces';
import type { ResolvedCliOptions } from '../config/cli-options';
export type ProvideIconOptions = Pick<ResolvedCliOptions, 'root' | 'app' | 'icon'> & {
    /** Don't actually generate an icon or read the content of the icon */
    dryRun?: boolean;
};
export type AppIconDetails = AppIcon & {
    data: Buffer | string;
    type: 'image/svg+xml' | 'image/png';
    extension: '.svg' | '.png';
    iconSrcPath?: string;
};
/**
 * Provides icon information such as content, mime type and path.
 * If no icon is present, it will be generated using the appId.
 * This function is handy to serve the icon via dev-server.
 */
export declare function provideIcon(options: ProvideIconOptions): Promise<AppIconDetails>;
