import type { CatalogItem } from '@redocly/theme/core/types';
import type { CatalogConfig, ScorecardConfig } from '@redocly/theme/config';
import type { Data, TeamStats, RuleProblem } from './index.types';
export declare function useData(props: {
    pageProps: {
        catalogId: string;
        catalogConfig: CatalogConfig;
        scorecardConfig: ScorecardConfig;
        scorecardInfo: {
            levelNames: string[];
            rulesPerLevel: Record<string, string[]>;
            rules: string[];
        };
    };
}): {
    apis: Data[];
    summary: {
        total: number;
        levels: Record<string, number>;
    };
    problemsByStatus: {
        name: string;
        count: {
            errors: number;
            warnings: number;
        };
        uniqueCount: {
            errors: number;
            warnings: number;
        };
    }[];
    totalProblems: number;
    problemsByRule: RuleProblem[];
    sortedStatsByTeam: TeamStats[];
    handleSortRulesTeams: (property: string) => void;
    nonConformantByTeam: TeamStats[];
    filterTerm: string;
    setFilterTerm: (term: string) => void;
    groups: {
        title: string;
        items: CatalogItem[];
    }[];
    filters: import("@redocly/theme/core/types").ResolvedFilter[];
    scorecardInfo: {
        levelNames: string[];
        rulesPerLevel: Record<string, string[]>;
        rules: string[];
    };
    catalogConfig: {
        filters: {
            missingCategoryName?: string | undefined;
            missingCategoryNameTranslationKey?: string | undefined;
            options?: string[] | undefined;
            parentFilter?: string | undefined;
            property: string;
            title: string;
            titleTranslationKey?: string | undefined;
            type?: "checkboxes" | "date-range" | "select" | undefined;
            valuesMapping?: {
                [x: string]: string;
            } | undefined;
        }[];
        description?: string | undefined;
        descriptionTranslationKey?: string | undefined;
        filterValuesCasing?: "lowercase" | "original" | "sentence" | "uppercase" | undefined;
        groupByFirstFilter?: boolean | undefined;
        items: {
            [x: string]: unknown;
            additionalProps?: {
                [x: string]: unknown;
            } | undefined;
            directory?: string | undefined;
            disconnect?: boolean | undefined;
            expanded?: "always" | undefined;
            external?: boolean | undefined;
            flatten?: boolean | undefined;
            group?: string | undefined;
            groupTranslationKey?: string | undefined;
            href?: string | undefined;
            icon?: string | {
                [x: string]: unknown;
                srcSet: string;
            } | undefined;
            items?: {
                [x: string]: unknown;
                additionalProps?: {
                    [x: string]: unknown;
                } | undefined;
                directory?: string | undefined;
                disconnect?: boolean | undefined;
                expanded?: "always" | undefined;
                external?: boolean | undefined;
                flatten?: boolean | undefined;
                group?: string | undefined;
                groupTranslationKey?: string | undefined;
                href?: string | undefined;
                icon?: string | {
                    [x: string]: unknown;
                    srcSet: string;
                } | undefined;
                items?: {
                    [x: string]: unknown;
                }[] | undefined;
                label?: string | undefined;
                labelTranslationKey?: string | undefined;
                linePosition?: "bottom" | "top" | undefined;
                linkedSidebars?: string[] | undefined;
                menuStyle?: "drilldown" | undefined;
                page?: string | undefined;
                rbac?: {
                    [x: string]: string;
                } | undefined;
                selectFirstItemOnExpand?: boolean | undefined;
                separator?: string | undefined;
                separatorLine?: boolean | undefined;
                version?: string | undefined;
            }[] | undefined;
            label?: string | undefined;
            labelTranslationKey?: string | undefined;
            linePosition?: "bottom" | "top" | undefined;
            linkedSidebars?: string[] | undefined;
            menuStyle?: "drilldown" | undefined;
            page?: string | undefined;
            rbac?: {
                [x: string]: string;
            } | undefined;
            selectFirstItemOnExpand?: boolean | undefined;
            separator?: string | undefined;
            separatorLine?: boolean | undefined;
            version?: string | undefined;
        }[];
        requiredPermission?: string | undefined;
        separateVersions?: boolean | undefined;
        show?: boolean | undefined;
        slug: string;
        title?: string | undefined;
        titleTranslationKey?: string | undefined;
    };
    hasTeam: boolean;
    hasPublishedAt: boolean;
    teamLabel: string;
    teamProperty: string;
};
//# sourceMappingURL=useData.d.ts.map