import type { Database, CreateDatabaseRequest, ListDatabaseIdFieldsRequest, ListDatabasesRequest, ListDatabasesResponse, GetDatabaseMetadataRequest, GetDatabaseRequest, UpdateDatabaseRequest, Field, Table, ListDatabaseSchemaTablesRequest, ListDatabaseSchemasRequest, ListVirtualDatabaseTablesRequest } from "@metabase/embedding-sdk-react/dist/frontend/src/metabase-types/api";
export declare const databaseApi: import("@reduxjs/toolkit/query").Api<import("@reduxjs/toolkit/query").BaseQueryFn, {
    listDatabases: import("@reduxjs/toolkit/query").QueryDefinition<void | ListDatabasesRequest, 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", ListDatabasesResponse, "metabase-api">;
    getDatabase: import("@reduxjs/toolkit/query").QueryDefinition<GetDatabaseRequest, 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", Database, "metabase-api">;
    getDatabaseMetadata: import("@reduxjs/toolkit/query").QueryDefinition<GetDatabaseMetadataRequest, 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", Database, "metabase-api">;
    listDatabaseSchemas: import("@reduxjs/toolkit/query").QueryDefinition<ListDatabaseSchemasRequest, 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", string[], "metabase-api">;
    listSyncableDatabaseSchemas: import("@reduxjs/toolkit/query").QueryDefinition<number, 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", string[], "metabase-api">;
    listDatabaseSchemaTables: import("@reduxjs/toolkit/query").QueryDefinition<ListDatabaseSchemaTablesRequest, 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", Table[], "metabase-api">;
    listVirtualDatabaseTables: import("@reduxjs/toolkit/query").QueryDefinition<ListVirtualDatabaseTablesRequest, 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", Table[], "metabase-api">;
    listDatabaseIdFields: import("@reduxjs/toolkit/query").QueryDefinition<ListDatabaseIdFieldsRequest, 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", Field[], "metabase-api">;
    createDatabase: import("@reduxjs/toolkit/query").MutationDefinition<CreateDatabaseRequest, 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", Database, "metabase-api">;
    updateDatabase: import("@reduxjs/toolkit/query").MutationDefinition<UpdateDatabaseRequest, 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", Database, "metabase-api">;
    deleteDatabase: import("@reduxjs/toolkit/query").MutationDefinition<number, 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", void, "metabase-api">;
    syncDatabaseSchema: import("@reduxjs/toolkit/query").MutationDefinition<number, 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", void, "metabase-api">;
    rescanDatabaseFieldValues: import("@reduxjs/toolkit/query").MutationDefinition<number, 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", void, "metabase-api">;
    discardDatabaseFieldValues: import("@reduxjs/toolkit/query").MutationDefinition<number, 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", void, "metabase-api">;
}, "metabase-api", "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", typeof import("@reduxjs/toolkit/query").coreModuleName | typeof import("@reduxjs/toolkit/dist/query/react").reactHooksModuleName>;
export declare const useListDatabasesQuery: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseQuery<import("@reduxjs/toolkit/query").QueryDefinition<void | ListDatabasesRequest, 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", ListDatabasesResponse, "metabase-api">>, useGetDatabaseQuery: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseQuery<import("@reduxjs/toolkit/query").QueryDefinition<GetDatabaseRequest, 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", Database, "metabase-api">>, useListDatabaseSchemasQuery: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseQuery<import("@reduxjs/toolkit/query").QueryDefinition<ListDatabaseSchemasRequest, 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", string[], "metabase-api">>, useListSyncableDatabaseSchemasQuery: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseQuery<import("@reduxjs/toolkit/query").QueryDefinition<number, 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", string[], "metabase-api">>, useListDatabaseSchemaTablesQuery: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseQuery<import("@reduxjs/toolkit/query").QueryDefinition<ListDatabaseSchemaTablesRequest, 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", Table[], "metabase-api">>, useListVirtualDatabaseTablesQuery: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseQuery<import("@reduxjs/toolkit/query").QueryDefinition<ListVirtualDatabaseTablesRequest, 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", Table[], "metabase-api">>, useListDatabaseIdFieldsQuery: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseQuery<import("@reduxjs/toolkit/query").QueryDefinition<ListDatabaseIdFieldsRequest, 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", Field[], "metabase-api">>, useCreateDatabaseMutation: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseMutation<import("@reduxjs/toolkit/query").MutationDefinition<CreateDatabaseRequest, 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", Database, "metabase-api">>, useUpdateDatabaseMutation: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseMutation<import("@reduxjs/toolkit/query").MutationDefinition<UpdateDatabaseRequest, 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", Database, "metabase-api">>, useDeleteDatabaseMutation: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseMutation<import("@reduxjs/toolkit/query").MutationDefinition<number, 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", void, "metabase-api">>, useSyncDatabaseSchemaMutation: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseMutation<import("@reduxjs/toolkit/query").MutationDefinition<number, 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", void, "metabase-api">>, useRescanDatabaseFieldValuesMutation: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseMutation<import("@reduxjs/toolkit/query").MutationDefinition<number, 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", void, "metabase-api">>, useDiscardDatabaseFieldValuesMutation: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseMutation<import("@reduxjs/toolkit/query").MutationDefinition<number, 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", void, "metabase-api">>;
