export type UserEmailDomainSource = "environment" | "git" | "unknown"; export interface WorkspaceUserIdentity { /** Privacy-preserving domain only; the complete address is never retained. */ userEmailDomain: string | null; source: UserEmailDomainSource; } interface IdentityDependencies { environmentEmail?: () => string | undefined; gitEmail?: (projectRoot: string) => Promise; } export declare function resolveWorkspaceUserIdentity(projectRoot: string, dependencies?: IdentityDependencies): Promise; export declare function currentWorkspaceUserIdentity(projectRoot: string): Promise; export declare function clearWorkspaceUserIdentityCacheForTests(): void; export {}; //# sourceMappingURL=user-identity.d.ts.map