import type { Client } from "@libsql/client"; import type { VaultRow } from "./repo.js"; export type LytEntityType = "vault" | "mesh" | "pod" | "user" | "figment" | "pattern"; export interface TypedId { type: LytEntityType; id: string; } export declare function formatTypedId(type: LytEntityType, id: string): string; export declare function parseTypedId(raw: string): TypedId | null; export declare function gitUrlToCoordinate(gitUrl: string): string | null; export declare function canonicalizeCoordinate(coordinate: string): string; export declare function vaultOriginCoordinate(vault: VaultRow): string | null; export declare function vaultLeaf(name: string): string; export declare function computeDisplayName(db: Client, vault: VaultRow): Promise; export declare function computeDisplayNameSync(vault: VaultRow, meshNameByRidHex: ReadonlyMap, _coordinate?: string | null): string; export declare class AmbiguousVaultLeafError extends Error { readonly errorCode = "ambiguous-vault-leaf"; readonly leaf: string; readonly candidates: readonly string[]; constructor(leaf: string, candidates: readonly string[]); } export declare class AmbiguousVaultCoordinateError extends Error { readonly errorCode = "ambiguous-vault-coordinate"; readonly coordinate: string; readonly candidates: readonly string[]; constructor(coordinate: string, candidates: readonly string[]); } export declare function resolveLiveVaultByCoordinate(db: Client, coordinate: string): Promise; export declare function resolveVault(db: Client, handle: string): Promise; //# sourceMappingURL=vault-addressing.d.ts.map