imagine-work.d.ts 389 B

123456789101112
  1. import { Observable } from 'rxjs';
  2. import Parse from 'parse';
  3. import { DalleOptions } from './imagine-func';
  4. export declare class ImagineWork {
  5. id: string;
  6. task: Parse.Object | null;
  7. progress: number;
  8. images: Array<string>;
  9. constructor(id?: string);
  10. fetchTask(): Promise<Parse.Object<Parse.Attributes>>;
  11. draw(options: DalleOptions): Observable<Parse.Object>;
  12. }