import type { SessionOwnerInfo } from "./types.js"; export type SessionOwnerKind = "user" | "system" | "unowned"; /** * Synthetic principal used by the native TUI / non-authenticated local * deployments so user-scoped surfaces (Admin Console, profile settings, * per-user GitHub Copilot key) have a stable identity to attach to. * * Portal / authenticated deployments derive the real principal from the * portal auth provider — never use this constant in those code paths. */ export declare const LOCAL_DEFAULT_USER_PRINCIPAL: Readonly; export interface SessionOwnerFilterOptions { includeSystem?: boolean; ownerQuery?: string | null; ownerKind?: string | null; } type SessionOwnerLike = { isSystem?: boolean | null; owner?: SessionOwnerInfo | null; }; type OwnerBucketLike = { ownerKind?: string | null; owner?: SessionOwnerInfo | null; }; export declare function normalizeSessionOwnerKind(value: string | null | undefined): SessionOwnerKind | null; export declare function getSessionOwnerKind(session: SessionOwnerLike | null | undefined): SessionOwnerKind; export declare function getOwnerBucketKind(bucket: OwnerBucketLike | null | undefined): SessionOwnerKind; export declare function formatOwnerLabel(owner: SessionOwnerInfo | null | undefined): string; export declare function matchesSessionOwnerFilters(session: SessionOwnerLike | null | undefined, filters?: SessionOwnerFilterOptions): boolean; export declare function matchesOwnerBucketFilters(bucket: OwnerBucketLike | null | undefined, filters?: Pick): boolean; export declare function formatSessionOwnerLabel(session: SessionOwnerLike | null | undefined): string; export declare function formatOwnerBucketLabel(bucket: OwnerBucketLike | null | undefined): string; export {}; //# sourceMappingURL=session-owner-utils.d.ts.map