import { BaseService } from '@txstate-mws/graphql-server'; import { DosGatoService, type Organization, type OrganizationFilter, OrganizationResponse } from '../internal.js'; export declare class OrganizationServiceInternal extends BaseService { find(filter?: OrganizationFilter): Promise; findById(id: string): Promise; protected findAncestorsRecursive(orgId: string | undefined): Promise; findAncestors(orgId: string, topDown?: boolean, indexes?: number[]): Promise; } export declare class OrganizationService extends DosGatoService { raw: OrganizationServiceInternal; find(filter?: OrganizationFilter): Promise; findById(id: string): Promise; findAncestors(orgId: string, topDown?: boolean, indexes?: number[]): Promise; mayView(org: Organization): boolean; mayCreate(): boolean; create(name: string, externalId?: string): Promise; }