import { type Models } from "@triply/utils"; import AsyncIteratorHelper from "./utils/AsyncIteratorHelper.ts"; import { type Account } from "./Account.ts"; import type Dataset from "./Dataset.ts"; import Org from "./Org.ts"; import type Query from "./Query.ts"; import type Story from "./Story.ts"; import User from "./User.ts"; export interface AppConfig { token?: string; url?: string; httpProxy?: string; httpsProxy?: string; } export default class App { private _config; private _info?; private constructor(); get url(): string; getConfig(): { token?: string | undefined; url: string; httpProxy?: string | undefined; httpsProxy?: string | undefined; }; getInfo(): Promise; getAccount(accountName?: string): Promise; getAccounts(): AsyncIteratorHelper; getUser(accountName?: string): Promise; getOrganization(accountName: string): Promise; get(idString: `account:${string}`): Promise; get(idString: `user:${string}`): Promise; get(idString: `account`): Promise; get(idString: `user`): Promise; get(idString: `org:${string}`): Promise; get(idString: `dataset:${string}`): Promise; get(idString: `query:${string}`): Promise; get(idString: `story:${string}`): Promise; isCompatible(minimumVersion: string): Promise; private getPostProcessedApiUrl; static get(conf?: AppConfig | string): App; } //# sourceMappingURL=App.d.ts.map