import { type ExtensionName, type ExtensionType } from "./common.js"; import type { Handle } from "./handle.js"; export type DesiredPackageAuthority = "registry" | "workspace"; export interface DecodedDesiredExtensionIdentity { readonly authority: DesiredPackageAuthority; readonly owner: Handle; readonly type: ExtensionType; readonly name: ExtensionName; readonly fqn: string; } /** * Decode the source-qualified identity stored in the desired-state graph. * * This is deliberately narrower than source-locator parsing: desired graph * identities are either validated Registry FQNs or `workspace:` followed by a * validated FQN. Unknown authorities fail closed. */ export declare const decodeDesiredExtensionIdentity: (identity: string) => DecodedDesiredExtensionIdentity | undefined; //# sourceMappingURL=desired-identity.d.ts.map