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 { CreatePersonInput } from "./service/accounts-shared.js"; export interface PersonCreateCommandInput { person: CreatePersonInput; } export declare function executePersonCreateCommand(input: { db: PostgresJsDatabase; context: ActionLedgerRequestContextValues; commandInput: PersonCreateCommandInput; admitted: ToolHandlerActionPolicyContext; legacyIdempotencyKey?: string; testHooks?: { /** Test-only failure/concurrency seam inside the handler-owned transaction. */ afterDomainCreate?: (tx: PostgresJsDatabase, personId: string) => Promise; }; }): Promise>; export declare function personCreatedEventId(personId: string): string;