import { LoadingHandler, MJConfig, MJConfigParam } from "./interfaces"; import { MidjourneyApi } from "./midjourne.api"; import { MidjourneyMessage } from "./midjourney.message"; import { WsMessage } from "./ws.message"; export declare class Midjourney extends MidjourneyMessage { config: MJConfig; wsClient?: WsMessage; MJApi: MidjourneyApi; constructor(defaults: MJConfigParam); Connect(): Promise; init(): Promise; ConnectWatch(doneCallBack: any): Promise; Imagine(prompt: string, nonce: string, doneCallBack: any, loading?: LoadingHandler): Promise; Settings(): Promise; Reset(): Promise; Info(): Promise; Fast(): Promise; Relax(): Promise; Describe(imgUri: string): Promise<{ options: import("./interfaces").MJOptions[]; descriptions: string[]; } | null>; Variation({ index, msgId, hash, content, flags, doneCallBack, loading, }: { index: 1 | 2 | 3 | 4; msgId: string; hash: string; content?: string; flags: number; doneCallBack?: any; loading?: LoadingHandler; }): Promise; Upscale({ index, msgId, hash, content, flags, doneCallBack, loading, }: { index: 1 | 2 | 3 | 4; msgId: string; hash: string; content?: string; flags: number; doneCallBack?: any; loading?: LoadingHandler; }): Promise; Custom({ msgId, customId, content, flags, doneCallBack, loading, }: { msgId: string; customId: string; content?: string; flags: number; doneCallBack?: any; loading?: LoadingHandler; }): Promise; ZoomOut({ level, msgId, hash, content, flags, doneCallBack, loading, }: { level: "high" | "low" | "2x" | "1.5x"; msgId: string; hash: string; content?: string; flags: number; doneCallBack?: any; loading?: LoadingHandler; }): Promise; Reroll({ msgId, hash, content, flags, loading, }: { msgId: string; hash: string; content?: string; flags: number; loading?: LoadingHandler; }): Promise; Close(): void; }