import ArDB from 'ardb'; import Arweave from 'arweave'; import TransactionsModule from '../common/transactions'; import { ArtByCityConfig } from '../config'; import { ArtByCityUsernames } from '../usernames'; import { ArweaveAccount } from './'; export default class ArtByCityProfiles { protected readonly arweave: Arweave; protected readonly usernames: ArtByCityUsernames; protected readonly config: ArtByCityConfig; protected readonly ardb: ArDB; protected readonly transactions: TransactionsModule; constructor(arweave: Arweave, usernames: ArtByCityUsernames, config: ArtByCityConfig); get(usernameOrAddress: string): Promise; getByUsername(username: string): Promise; getByAddress(address: string): Promise; getByTransactionId(txid: string): Promise; }