import { OnProgress } from "./progress"; import { Page } from "./page"; import { Currency, CurrencyValue } from "./currency"; import { GistMetadata } from "./gist"; export interface Project { id: string; owner: string; erc721_name: string; erc721_url: string; gist_user: string; gist_id: string; block: string | number; tx: string; ctime: number; taskCount: string | number; metadata?: GistMetadata; } export interface ProjectQuery { items: Project[]; page: Page; } export declare function createProject(options: { gistURL: string; payback?: string; }, onprogress?: OnProgress): Promise; export declare function getProject(id: string): Promise; export declare function queryProjectsByOwner(options: { owner: string; p?: number; n?: number; }): Promise; export declare function queryProjects(options: { p?: number; n?: number; }): Promise; export declare function getProjectOwner(id: string): Promise; export declare function deposit(id: string, amount: CurrencyValue, onprogress?: OnProgress): Promise; export declare function getBalance(id: string, currency: Currency): Promise; export declare function getBalances(id: string, currencys: Currency[]): Promise; //# sourceMappingURL=project.d.ts.map