/** * Registry */ export declare class RegistryClient { _restEndpoint: string; _graph: any; /** * Get query result. */ static getResult(query: any, key: string, modifier?: (rows: any[]) => {}): Promise; /** * Prepare response attributes. */ static prepareAttributes(path: string): (rows: any[]) => any[]; /** * New Client. */ constructor(restEndpoint: string, gqlEndpoint: string); /** * Get server status. */ getStatus(): Promise; /** * Fetch Accounts. */ getAccounts(addresses: string[]): Promise; /** * Get records by ids. */ getRecordsByIds(ids: string[], refs?: boolean): Promise; /** * Get records by attributes. */ queryRecords(attributes: { [key: string]: any; }, all?: boolean, refs?: boolean): Promise; /** * Lookup authorities by names. */ lookupAuthorities(names: string[], auction?: boolean): Promise; /** * Get auctions by ids. */ getAuctionsByIds(ids: string[]): Promise; /** * Lookup names. */ lookupNames(names: string[], history?: boolean): Promise; /** * Resolve names to records. */ resolveNames(names: string[], refs?: boolean): Promise; /** * Get bonds by ids. */ getBondsByIds(ids: string[]): Promise; /** * Get records by attributes. */ queryBonds(attributes?: {}): Promise; /** * Submit transaction. */ submit(tx: string): Promise; }