type CancelMedia = {
    type: 'cancel';
};
export type PublicPickMedia = {
    pickImage: (args: {
        multiple: boolean;
    }) => Promise<{
        type: 'ready-media';
        media: PickMediaImageData[];
    } | CancelMedia>;
    pickVideo: (args: {
        multiple: boolean;
    }) => Promise<{
        type: 'ready-media';
        media: PickMediaVideoData[];
    } | CancelMedia>;
    pickAudio: (args: {
        multiple: boolean;
    }) => Promise<{
        type: 'ready-media';
        media: PickMediaAudioData[];
    } | CancelMedia>;
    pickGallery: (args: {
        multiple: boolean;
    }) => Promise<{
        type: 'ready-media';
        media: (PickMediaImageData | PickMediaVideoData)[];
    } | CancelMedia>;
    pickFile: (args: {
        multiple: boolean;
    }) => Promise<{
        type: 'ready-media';
        media: PickMediaFileData[];
    } | CancelMedia>;
};
type IdOrUrl = {
    id: string;
} | {
    url: string;
};
export type PickMediaImageData = {
    type: 'image';
    src: IdOrUrl;
    height: number;
    width: number;
    title: string;
};
export type PickMediaVideoData = {
    type: 'video';
    src: IdOrUrl;
    height: number;
    width: number;
    title?: string;
    thumbnail: {
        height: number;
        width: number;
        src: IdOrUrl;
    };
};
export type PickMediaFileData = {
    type: 'file';
    src: IdOrUrl;
    name: string;
    extension: string;
    size: string | number;
};
export type PickMediaAudioData = {
    type: 'audio';
    src: IdOrUrl;
    title: string;
    authorName?: string;
};
export {};
//# sourceMappingURL=public-pick-media.d.ts.map