import { AxiosInstance } from "axios"; import { CreateSubAccountParams, SubAccount } from "../../../types/api/sub-accounts"; export default class SubAccountsApi { private client; private subAccountsURL; constructor(client: AxiosInstance, organizationId: number); /** * Get a list of sub accounts for the organization. Requires sub-account * management permissions. */ getList(): Promise; /** * Create a new sub account under the organization. Requires sub-account * management permissions. */ create(params: CreateSubAccountParams): Promise; /** * Delete a sub account by ID. Requires organization admin permissions. The * deletion is permanent and removes all sub-account data; deleting the * organization's last sub account deletes the organization as well. A * repeated call for the same ID fails with `404`. Rate limited to 10 * requests per minute per organization. Returns nothing (204 No Content). */ delete(subAccountId: number): Promise; } //# sourceMappingURL=SubAccounts.d.ts.map