/** * Resolve a current key ID into a full key name (appId.keyId). * Handles the case where keyId may already include the appId prefix. * Returns undefined if keyId is not provided. */ export declare function resolveCurrentKeyName(appId: string, keyId?: string): string | undefined; /** * Parse a capabilities string that may be either: * - JSON object: '{"channel1":["publish"],"channel2":["subscribe"]}' * - Comma-separated list: "publish,subscribe" → {"*": ["publish","subscribe"]} * * Throws error on invalid JSON object or empty Capabilities array */ export declare function parseCapabilities(input: string): Record;