import { type ActionLedgerRequestContextValues } from "@voyant-travel/action-ledger"; import type { ToolHandlerActionPolicyContext } from "@voyant-travel/tools"; import type { PostgresJsDatabase } from "drizzle-orm/postgres-js"; import type { CreateAddressForEntityInput, CreateOrganizationInput } from "./service/accounts-shared.js"; export interface OrganizationCreateCommandInput { organization: CreateOrganizationInput; billingAddress: CreateAddressForEntityInput | null; } export declare function executeOrganizationCreateCommand(input: { db: PostgresJsDatabase; context: ActionLedgerRequestContextValues; commandInput: OrganizationCreateCommandInput; admitted: ToolHandlerActionPolicyContext; legacyIdempotencyKey?: string; testHooks?: { /** Test-only failure/concurrency seam inside the handler-owned transaction. */ afterDomainCreate?: (tx: PostgresJsDatabase, organizationId: string) => Promise; }; }): Promise>; export declare function organizationCreatedEventId(organizationId: string): string;