export declare function checkAspectRatio(width: number, height: number, tolerance?: number): { isMatching: boolean; matchedRatio: string | null; actualRatio: number; actualRatioStr: string; }; export declare function pollImageTask(this: any, historyId: string, options?: { interval?: number; maxTimes?: number; }): Promise<{ imageUrls: string[]; status: number; failCode?: string; }>; export declare function checkLinkType(input: string): "string" | "invalid" | "http" | "file"; export declare function getDimensionsByValue(value: number): [number, number]; export declare const RatiosList: { ratio: string; value: { '1k': { width: number; height: number; }; '2k': { width: number; height: number; }; }; }[]; export declare function pollVideoTask(this: any, historyId: string, options?: { interval?: number; maxTimes?: number; }): Promise<{ videoInfoList: Array<{ videoUrl: string | undefined; width: number | undefined; height: number | undefined; format: string | undefined; cover_url: string | undefined; duration_ms: number | undefined; }>; status: number; historyId: string; failCode?: string; }>;