import { type ILocalizationPageQuery, type ILocalizationResolvedValue, type ILocalizationStatistics, type ILocalizationStatisticsWorkspace, type ILocalizationTranslationUsage, type ILocalizationUsage, type ILocalizationUsageListQuery, type ILocalizationUsageUser, type ILocalizationUsageWorkspace, type LocalizationSettingType, type LocalizationTranslatedSettingType, type LocalizationUsageSource } from "@gooddata/sdk-backend-spi"; import { type IFixturePerson, type IFixtureWorkspace } from "./fixture.js"; type ResolvedSettings = Partial>; export interface IUsageScope { workspaces: IFixtureWorkspace[]; people: Array; /** * Names of workspaces outside `workspaces` that rows refer to as parent or origin. */ workspaceNames?: ReadonlyMap; /** * Languages a workspace has translations to, from the workspace and its ancestors. */ translatedLocales?: (workspaceId: string, setting: LocalizationTranslatedSettingType) => ReadonlySet; } export declare function translationUsage(scope: IUsageScope): ILocalizationTranslationUsage; export declare function translatedLocalesOf(workspaces: IFixtureWorkspace[], statistics: ILocalizationStatisticsWorkspace[]): (workspaceId: string, setting: LocalizationTranslatedSettingType) => ReadonlySet; export declare function summarize(scope: IUsageScope, peopleWithoutValue: "own" | "effective"): ILocalizationUsage; export declare function matchesName(name: string | undefined, candidates: Array): boolean; export declare function matches(settings: ResolvedSettings, query: ILocalizationUsageListQuery): LocalizationUsageSource | undefined; export declare function page(items: T[], query: ILocalizationPageQuery): T[]; export declare function usageWorkspaces(scope: IUsageScope, query: ILocalizationUsageListQuery): { workspaces: ILocalizationUsageWorkspace[]; totalCount: number; }; export declare function usageUsers(scope: IUsageScope, query: ILocalizationUsageListQuery): { users: ILocalizationUsageUser[]; totalCount: number; }; export declare function statisticsSummary(rows: ILocalizationStatisticsWorkspace[]): ILocalizationStatistics; export declare function statisticsPage(rows: ILocalizationStatisticsWorkspace[], query: ILocalizationPageQuery): { workspaces: ILocalizationStatisticsWorkspace[]; totalCount: number; }; export declare function ownSettings(person: IFixturePerson): ResolvedSettings; export declare function effectiveSettings(person: IFixturePerson, workspace: IFixtureWorkspace): ResolvedSettings; export {}; //# sourceMappingURL=aggregate.d.ts.map