import { type RuntimeServicesDisclosedParticipant } from "./services-client/index.js"; export declare const HANDLE_PATTERN = "[a-z][a-z0-9_-]{2,14}"; export type Party = { kind: "node"; handle?: string; address?: string; } | { kind: "session"; name: string; handle: string; pickCode?: string; }; export declare function nodeAddress(address: string): string; export declare function parseParty(to: string): Party | null; export declare function destinationText(party: Party | undefined): string | undefined; export declare function plainSenderText(text: string | undefined): string | undefined; export declare function systemPartyText(party: Party): string | undefined; export declare function partyOfParticipant(participant: RuntimeServicesDisclosedParticipant | undefined, sender?: { handle?: string; address?: string; }): Party | undefined; export declare function sameParty(a: Party, b: Party): boolean; //# sourceMappingURL=party.d.ts.map