import type { CreateSegmentRequest, DeleteSegmentRequest, Segment, UpdateSegmentRequest } from "@metabase/embedding-sdk-react/dist/frontend/src/metabase-types/api";
export declare const segmentApi: import("@reduxjs/toolkit/query").Api<import("@reduxjs/toolkit/query").BaseQueryFn, {
    listSegments: import("@reduxjs/toolkit/query").QueryDefinition<void, import("@reduxjs/toolkit/query").BaseQueryFn, "dashboard" | "action" | "schema" | "table" | "segment" | "card" | "database" | "field" | "user" | "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", Segment[], "metabase-api">;
    getSegment: import("@reduxjs/toolkit/query").QueryDefinition<number, import("@reduxjs/toolkit/query").BaseQueryFn, "dashboard" | "action" | "schema" | "table" | "segment" | "card" | "database" | "field" | "user" | "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", Segment, "metabase-api">;
    createSegment: import("@reduxjs/toolkit/query").MutationDefinition<CreateSegmentRequest, import("@reduxjs/toolkit/query").BaseQueryFn, "dashboard" | "action" | "schema" | "table" | "segment" | "card" | "database" | "field" | "user" | "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", Segment, "metabase-api">;
    updateSegment: import("@reduxjs/toolkit/query").MutationDefinition<UpdateSegmentRequest, import("@reduxjs/toolkit/query").BaseQueryFn, "dashboard" | "action" | "schema" | "table" | "segment" | "card" | "database" | "field" | "user" | "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", Segment, "metabase-api">;
    deleteSegment: import("@reduxjs/toolkit/query").MutationDefinition<DeleteSegmentRequest, import("@reduxjs/toolkit/query").BaseQueryFn, "dashboard" | "action" | "schema" | "table" | "segment" | "card" | "database" | "field" | "user" | "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", Segment, "metabase-api">;
}, "metabase-api", "dashboard" | "action" | "schema" | "table" | "segment" | "card" | "database" | "field" | "user" | "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", typeof import("@reduxjs/toolkit/query").coreModuleName | typeof import("@reduxjs/toolkit/dist/query/react").reactHooksModuleName>;
export declare const useListSegmentsQuery: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseQuery<import("@reduxjs/toolkit/query").QueryDefinition<void, import("@reduxjs/toolkit/query").BaseQueryFn, "dashboard" | "action" | "schema" | "table" | "segment" | "card" | "database" | "field" | "user" | "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", Segment[], "metabase-api">>, useGetSegmentQuery: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseQuery<import("@reduxjs/toolkit/query").QueryDefinition<number, import("@reduxjs/toolkit/query").BaseQueryFn, "dashboard" | "action" | "schema" | "table" | "segment" | "card" | "database" | "field" | "user" | "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", Segment, "metabase-api">>, useCreateSegmentMutation: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseMutation<import("@reduxjs/toolkit/query").MutationDefinition<CreateSegmentRequest, import("@reduxjs/toolkit/query").BaseQueryFn, "dashboard" | "action" | "schema" | "table" | "segment" | "card" | "database" | "field" | "user" | "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", Segment, "metabase-api">>, useUpdateSegmentMutation: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseMutation<import("@reduxjs/toolkit/query").MutationDefinition<UpdateSegmentRequest, import("@reduxjs/toolkit/query").BaseQueryFn, "dashboard" | "action" | "schema" | "table" | "segment" | "card" | "database" | "field" | "user" | "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", Segment, "metabase-api">>, useDeleteSegmentMutation: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseMutation<import("@reduxjs/toolkit/query").MutationDefinition<DeleteSegmentRequest, import("@reduxjs/toolkit/query").BaseQueryFn, "dashboard" | "action" | "schema" | "table" | "segment" | "card" | "database" | "field" | "user" | "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", Segment, "metabase-api">>;
