import { type FamilyOrganizationSummary, type FamilyRegistrationStatus } from 'gdc-common-utils-ts/utils/family-organization-summary'; import type { PollOptions, SubmitAndPollResult } from './orchestration/client-port.js'; import type { RouteContext } from './individual-onboarding.js'; export type FamilyOrganizationSearchInput = Readonly<{ controllerPhone: string; usualname: string; birthDate?: string; timeoutSeconds?: number; intervalSeconds?: number; }>; export type OwnedFamilyOrganizationDirectoryInput = Readonly<{ verifiedContact: Readonly<{ email?: string; telephone?: string; }>; requestThid?: string; timeoutSeconds?: number; intervalSeconds?: number; }>; export type OwnedFamilyOrganizationDirectoryEntry = Readonly<{ resourceId: string; /** Missing only for an owner-private registration draft. */ alternateName?: string; status?: FamilyRegistrationStatus; birthDate?: string; missingFields?: string[]; claims: Readonly>; }>; type SearchFamilyOrganizationWithDeps = { routeCtx: RouteContext; input: FamilyOrganizationSearchInput; defaultTimeoutMs?: number; defaultIntervalMs?: number; individualFamilyOrganizationSearchPath: (ctx: RouteContext) => string; individualFamilyOrganizationSearchPollPath: (ctx: RouteContext) => string; submitAndPoll: (submitPath: string, pollPath: string, payload: { thid?: string; } & Record, options?: PollOptions) => Promise; }; /** * Searches one existing family/individual organization registration by the * current phone-first business key used by extension channel flows. * * Returns one normalized summary when the registration exists, otherwise * `null`. */ export declare function searchFamilyOrganizationWithDeps(deps: SearchFamilyOrganizationWithDeps): Promise; /** * Lists the complete owner-scoped individual Organization directory. * * CORE requires an exact verified owner contact and deliberately performs no * global or prefix scan. Callers may filter the returned alternate names only * after this authenticated directory boundary. */ export declare function listOwnedFamilyOrganizationsWithDeps(routeCtx: RouteContext, input: OwnedFamilyOrganizationDirectoryInput, deps: Pick): Promise; export {};