import { APIResource } from "../core/resource.js"; import { APIPromise } from "../core/api-promise.js"; import { RequestOptions } from "../internal/request-options.js"; export declare class Orgs extends APIResource { /** * Retrieve an organization by name. */ retrieve(org: string, options?: RequestOptions): APIPromise; /** * List organizations accessible to the current authentication method. */ list(options?: RequestOptions): APIPromise; } export interface Org { display_name: string | null; enable_ai_commit_messages: boolean; object: 'org'; slug: string; } export interface OrgListResponse { data: Array; has_more: boolean; next_cursor?: string; } export declare namespace Orgs { export { type Org as Org, type OrgListResponse as OrgListResponse }; } //# sourceMappingURL=orgs.d.ts.map