import { RequestResponseData, RequestResponseError } from "../request"; export interface ImageLike { id: string; public_url: string; image_width: number; image_height: number; } export interface Page { last_key: string; items: T[]; } export interface ImageDialogConfig { cdn: string; images: ImageLike[]; position: number; perPage?: number; lastKey?: string; loadMore?: (lastKey: string) => Promise>>; } export declare function createImageDialog(): { config: import("effector").Store; visible: import("effector").Store; show: import("effector").Event; hide: import("effector").Event; images: import("effector").Store; position: import("effector").Store; setPosition: import("effector").Event; unexpectedError: import("effector").Event; somethingPending: import("effector").Store; }; export declare type ImageDialogStore = ReturnType;