import type { ReportableEntityName } from "./types";
export declare const useErrorInfo: ({ enabled }?: {
    enabled?: boolean;
}) => import("react-use/lib/useAsyncFn").AsyncState<Partial<{
    url: string;
    frontendErrors: string[];
    backendErrors: import("@metabase/embedding-sdk-react/dist/frontend/src/metabase-types/api").Log[];
    userLogs: import("@metabase/embedding-sdk-react/dist/frontend/src/metabase-types/api").Log[];
    logs: import("@metabase/embedding-sdk-react/dist/frontend/src/metabase-types/api").Log[];
    entityName: ReportableEntityName;
    localizedEntityName: string;
    entityInfo: import("@metabase/embedding-sdk-react/dist/frontend/src/metabase-types/api").Dashboard | import("@metabase/embedding-sdk-react/dist/frontend/src/metabase-types/api").Card<import("@metabase/embedding-sdk-react/dist/frontend/src/metabase-types/api").DatasetQuery> | import("@metabase/embedding-sdk-react/dist/frontend/src/metabase-types/api").Collection;
    queryResults: import("@metabase/embedding-sdk-react/dist/frontend/src/metabase-types/api").DatasetData;
    bugReportDetails: import("@metabase/embedding-sdk-react/dist/frontend/src/metabase-types/api").MetabaseInfo;
}> | null>;
