import type { SearchRequest } from "@metabase/embedding-sdk-react/dist/frontend/src/metabase-types/api";
export declare const useFetchModels: (req?: Partial<SearchRequest>) => import("@reduxjs/toolkit/dist/query/react/buildHooks").UseQueryHookResult<import("@reduxjs/toolkit/query").QueryDefinition<SearchRequest, import("@reduxjs/toolkit/query").BaseQueryFn, "dashboard" | "action" | "table" | "schema" | "segment" | "field" | "user" | "card" | "database" | "snippet" | "collection" | "persisted-info" | "field-values" | "indexed-entity" | "alert" | "bookmark" | "subscription" | "api-key" | "cloud-migration" | "parameter-values" | "permissions-group" | "persisted-model" | "revision" | "task" | "timeline" | "timeline-event", import("@metabase/embedding-sdk-react/dist/frontend/src/metabase-types/api").SearchResponse, "metabase-api">, import("@reduxjs/toolkit/query").TSHelpersId<(Omit<{
    status: import("@reduxjs/toolkit/query").QueryStatus.uninitialized;
    originalArgs?: undefined;
    data?: undefined;
    error?: undefined;
    requestId?: undefined;
    endpointName?: string | undefined;
    startedTimeStamp?: undefined;
    fulfilledTimeStamp?: undefined;
} & {
    currentData?: import("@metabase/embedding-sdk-react/dist/frontend/src/metabase-types/api").SearchResponse | undefined;
    isUninitialized: false;
    isLoading: false;
    isFetching: false;
    isSuccess: false;
    isError: false;
}, "isUninitialized"> & {
    isUninitialized: true;
}) | import("@reduxjs/toolkit/query").TSHelpersOverride<import("@reduxjs/toolkit/query").QuerySubState<import("@reduxjs/toolkit/query").QueryDefinition<SearchRequest, import("@reduxjs/toolkit/query").BaseQueryFn, "dashboard" | "action" | "table" | "schema" | "segment" | "field" | "user" | "card" | "database" | "snippet" | "collection" | "persisted-info" | "field-values" | "indexed-entity" | "alert" | "bookmark" | "subscription" | "api-key" | "cloud-migration" | "parameter-values" | "permissions-group" | "persisted-model" | "revision" | "task" | "timeline" | "timeline-event", import("@metabase/embedding-sdk-react/dist/frontend/src/metabase-types/api").SearchResponse, "metabase-api">> & {
    currentData?: import("@metabase/embedding-sdk-react/dist/frontend/src/metabase-types/api").SearchResponse | undefined;
    isUninitialized: false;
    isLoading: false;
    isFetching: false;
    isSuccess: false;
    isError: false;
}, {
    isLoading: true;
    isFetching: boolean;
    data: undefined;
} | ({
    isSuccess: true;
    isFetching: true;
    error: undefined;
} & Required<Pick<import("@reduxjs/toolkit/query").QuerySubState<import("@reduxjs/toolkit/query").QueryDefinition<SearchRequest, import("@reduxjs/toolkit/query").BaseQueryFn, "dashboard" | "action" | "table" | "schema" | "segment" | "field" | "user" | "card" | "database" | "snippet" | "collection" | "persisted-info" | "field-values" | "indexed-entity" | "alert" | "bookmark" | "subscription" | "api-key" | "cloud-migration" | "parameter-values" | "permissions-group" | "persisted-model" | "revision" | "task" | "timeline" | "timeline-event", import("@metabase/embedding-sdk-react/dist/frontend/src/metabase-types/api").SearchResponse, "metabase-api">> & {
    currentData?: import("@metabase/embedding-sdk-react/dist/frontend/src/metabase-types/api").SearchResponse | undefined;
    isUninitialized: false;
    isLoading: false;
    isFetching: false;
    isSuccess: false;
    isError: false;
}, "data" | "fulfilledTimeStamp">>) | ({
    isSuccess: true;
    isFetching: false;
    error: undefined;
} & Required<Pick<import("@reduxjs/toolkit/query").QuerySubState<import("@reduxjs/toolkit/query").QueryDefinition<SearchRequest, import("@reduxjs/toolkit/query").BaseQueryFn, "dashboard" | "action" | "table" | "schema" | "segment" | "field" | "user" | "card" | "database" | "snippet" | "collection" | "persisted-info" | "field-values" | "indexed-entity" | "alert" | "bookmark" | "subscription" | "api-key" | "cloud-migration" | "parameter-values" | "permissions-group" | "persisted-model" | "revision" | "task" | "timeline" | "timeline-event", import("@metabase/embedding-sdk-react/dist/frontend/src/metabase-types/api").SearchResponse, "metabase-api">> & {
    currentData?: import("@metabase/embedding-sdk-react/dist/frontend/src/metabase-types/api").SearchResponse | undefined;
    isUninitialized: false;
    isLoading: false;
    isFetching: false;
    isSuccess: false;
    isError: false;
}, "data" | "fulfilledTimeStamp" | "currentData">>) | ({
    isError: true;
} & Required<Pick<import("@reduxjs/toolkit/query").QuerySubState<import("@reduxjs/toolkit/query").QueryDefinition<SearchRequest, import("@reduxjs/toolkit/query").BaseQueryFn, "dashboard" | "action" | "table" | "schema" | "segment" | "field" | "user" | "card" | "database" | "snippet" | "collection" | "persisted-info" | "field-values" | "indexed-entity" | "alert" | "bookmark" | "subscription" | "api-key" | "cloud-migration" | "parameter-values" | "permissions-group" | "persisted-model" | "revision" | "task" | "timeline" | "timeline-event", import("@metabase/embedding-sdk-react/dist/frontend/src/metabase-types/api").SearchResponse, "metabase-api">> & {
    currentData?: import("@metabase/embedding-sdk-react/dist/frontend/src/metabase-types/api").SearchResponse | undefined;
    isUninitialized: false;
    isLoading: false;
    isFetching: false;
    isSuccess: false;
    isError: false;
}, "error">>)>> & {
    status: import("@reduxjs/toolkit/query").QueryStatus;
}>;
