import type { CoID } from "./coValue.js"; import type { RawAccountID } from "./coValues/account.js"; import type { RawGroup } from "./coValues/group.js"; export type RawCoID = `co_z${string}`; export type ParentGroupReference = `parent_${CoID}`; export type ChildGroupReference = `child_${CoID}`; export declare function isRawCoID(id: unknown): id is RawCoID; export declare function rawCoIDtoBytes(id: RawCoID): Uint8Array; export declare function rawCoIDfromBytes(bytes: Uint8Array): RawCoID; export type TransactionID = { sessionID: SessionID; txIndex: number; branch?: RawCoID; }; export type AgentID = `sealer_z${string}/signer_z${string}`; export declare function isAgentID(id: unknown): id is AgentID; export type ActiveSessionID = `${RawAccountID | AgentID}_session_z${string}`; export type DeleteSessionID = `${RawAccountID | AgentID}_session_d${string}$`; export type SessionID = ActiveSessionID | DeleteSessionID; export declare function isDeleteSessionID(sessionID: SessionID): sessionID is DeleteSessionID; export declare function isParentGroupReference(key: string): key is ParentGroupReference; export declare function getParentGroupId(key: ParentGroupReference): CoID; export declare function isChildGroupReference(key: string): key is ChildGroupReference; export declare function getChildGroupId(key: ChildGroupReference): CoID; export declare function getGroupDependentKey(key: unknown): `co_z${string}` | undefined; export declare function getGroupDependentKeyList(keys: unknown[]): `co_z${string}`[]; //# sourceMappingURL=ids.d.ts.map