import { skipToken } from "../../api";
import type { SearchRequest } from "../../../metabase-types/api";
export declare const useFetchModels: (req?: Partial<SearchRequest> | typeof skipToken) => (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("../..-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" | "database" | "user" | "card" | "snippet" | "collection" | "public-dashboard" | "persisted-info" | "field-values" | "alert" | "bookmark" | "subscription" | "indexed-entity" | "timeline" | "api-key" | "cloud-migration" | "channel" | "model-index" | "parameter-values" | "permissions-group" | "persisted-model" | "revision" | "subscription-channel" | "task" | "timeline-event" | "embed-dashboard" | "public-card" | "embed-card" | "public-action", import("../..-types/api").SearchResponse, "metabase-api">> & {
    currentData?: import("../..-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" | "database" | "user" | "card" | "snippet" | "collection" | "public-dashboard" | "persisted-info" | "field-values" | "alert" | "bookmark" | "subscription" | "indexed-entity" | "timeline" | "api-key" | "cloud-migration" | "channel" | "model-index" | "parameter-values" | "permissions-group" | "persisted-model" | "revision" | "subscription-channel" | "task" | "timeline-event" | "embed-dashboard" | "public-card" | "embed-card" | "public-action", import("../..-types/api").SearchResponse, "metabase-api">> & {
    currentData?: import("../..-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" | "database" | "user" | "card" | "snippet" | "collection" | "public-dashboard" | "persisted-info" | "field-values" | "alert" | "bookmark" | "subscription" | "indexed-entity" | "timeline" | "api-key" | "cloud-migration" | "channel" | "model-index" | "parameter-values" | "permissions-group" | "persisted-model" | "revision" | "subscription-channel" | "task" | "timeline-event" | "embed-dashboard" | "public-card" | "embed-card" | "public-action", import("../..-types/api").SearchResponse, "metabase-api">> & {
    currentData?: import("../..-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" | "database" | "user" | "card" | "snippet" | "collection" | "public-dashboard" | "persisted-info" | "field-values" | "alert" | "bookmark" | "subscription" | "indexed-entity" | "timeline" | "api-key" | "cloud-migration" | "channel" | "model-index" | "parameter-values" | "permissions-group" | "persisted-model" | "revision" | "subscription-channel" | "task" | "timeline-event" | "embed-dashboard" | "public-card" | "embed-card" | "public-action", import("../..-types/api").SearchResponse, "metabase-api">> & {
    currentData?: import("../..-types/api").SearchResponse | undefined;
    isUninitialized: false;
    isLoading: false;
    isFetching: false;
    isSuccess: false;
    isError: false;
}, "error">>)>> & {
    status: import("@reduxjs/toolkit/query").QueryStatus;
}) & {
    refetch: () => import("@reduxjs/toolkit/query").QueryActionCreatorResult<import("@reduxjs/toolkit/query").QueryDefinition<SearchRequest, import("@reduxjs/toolkit/query").BaseQueryFn, "dashboard" | "action" | "table" | "schema" | "segment" | "field" | "database" | "user" | "card" | "snippet" | "collection" | "public-dashboard" | "persisted-info" | "field-values" | "alert" | "bookmark" | "subscription" | "indexed-entity" | "timeline" | "api-key" | "cloud-migration" | "channel" | "model-index" | "parameter-values" | "permissions-group" | "persisted-model" | "revision" | "subscription-channel" | "task" | "timeline-event" | "embed-dashboard" | "public-card" | "embed-card" | "public-action", import("../..-types/api").SearchResponse, "metabase-api">>;
};
