export interface ParsedScopeKey { kind: 'tenant' | 'agent' | 'user' | 'custom'; id?: string; period?: string; raw: string; } /** * Parse a scope key into its structured components. * * Recognized patterns: * tenant::day:YYYY-MM-DD * tenant::hour:YYYY-MM-DDTHH:00Z * tenant::month:YYYY-MM * agent::day:YYYY-MM-DD * agent::hour:YYYY-MM-DDTHH:00Z * agent::month:YYYY-MM * user::day:YYYY-MM-DD * user::hour:YYYY-MM-DDTHH:00Z * user::month:YYYY-MM * * Unknown prefixes fall back to `kind: 'custom'` with `raw: scopeKey`. * Returns `undefined` for empty strings. */ export declare function parseScopeKey(scopeKey: string): ParsedScopeKey | undefined; //# sourceMappingURL=scope-key.d.ts.map