import { BaseApi } from "../base-api"; import type { ApiRecords } from "../types"; import type { CompanyAdminResponse } from "./types"; export * from "./types"; /** * @module CompaniesApi * @description Admin Companies: list and inspect companies on the platform. * Requires the `admin:company_info` permission. Archived companies are * excluded server-side from the list. * * @extends BaseApi */ export declare class CompaniesApi extends BaseApi { /** * List all active and pending companies (archived excluded server-side). * Returns the `records` envelope only — no pagination metadata is provided * by the backend for this endpoint. * * @param {string} [nameLike] - Optional case-insensitive substring filter * applied server-side to the company name (`name_like` query param). */ getCompanies(nameLike?: string): Promise>; }