import type { ErrorPayload } from "../../metabase-types/api";
interface BugReportResponse {
    success: boolean;
}
export declare const bugReportApi: import("@reduxjs/toolkit/query").Api<import("@reduxjs/toolkit/query").BaseQueryFn, {
    sendBugReport: import("@reduxjs/toolkit/query").MutationDefinition<{
        diagnosticInfo: ErrorPayload;
    }, 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", BugReportResponse, "metabase-api">;
}, "metabase-api", "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", typeof import("@reduxjs/toolkit/query").coreModuleName | typeof import("@reduxjs/toolkit/dist/query/react").reactHooksModuleName>;
export declare const useSendBugReportMutation: <R extends Record<string, any> = ({
    requestId?: undefined;
    status: import("@reduxjs/toolkit/query").QueryStatus.uninitialized;
    data?: undefined;
    error?: undefined;
    endpointName?: string | undefined;
    startedTimeStamp?: undefined;
    fulfilledTimeStamp?: undefined;
} & {
    status: import("@reduxjs/toolkit/query").QueryStatus.uninitialized;
    isUninitialized: true;
    isLoading: false;
    isSuccess: false;
    isError: false;
}) | ({
    status: import("@reduxjs/toolkit/query").QueryStatus.fulfilled;
} & Omit<{
    requestId: string;
    data?: BugReportResponse | undefined;
    error?: unknown;
    endpointName: string;
    startedTimeStamp: number;
    fulfilledTimeStamp?: number | undefined;
}, "data" | "fulfilledTimeStamp"> & Required<Pick<{
    requestId: string;
    data?: BugReportResponse | undefined;
    error?: unknown;
    endpointName: string;
    startedTimeStamp: number;
    fulfilledTimeStamp?: number | undefined;
}, "data" | "fulfilledTimeStamp">> & {
    error: undefined;
} & {
    status: import("@reduxjs/toolkit/query").QueryStatus.fulfilled;
    isUninitialized: false;
    isLoading: false;
    isSuccess: true;
    isError: false;
}) | ({
    status: import("@reduxjs/toolkit/query").QueryStatus.pending;
} & {
    requestId: string;
    data?: BugReportResponse | undefined;
    error?: unknown;
    endpointName: string;
    startedTimeStamp: number;
    fulfilledTimeStamp?: number | undefined;
} & {
    data?: undefined;
} & {
    status: import("@reduxjs/toolkit/query").QueryStatus.pending;
    isUninitialized: false;
    isLoading: true;
    isSuccess: false;
    isError: false;
}) | ({
    status: import("@reduxjs/toolkit/query").QueryStatus.rejected;
} & Omit<{
    requestId: string;
    data?: BugReportResponse | undefined;
    error?: unknown;
    endpointName: string;
    startedTimeStamp: number;
    fulfilledTimeStamp?: number | undefined;
}, "error"> & Required<Pick<{
    requestId: string;
    data?: BugReportResponse | undefined;
    error?: unknown;
    endpointName: string;
    startedTimeStamp: number;
    fulfilledTimeStamp?: number | undefined;
}, "error">> & {
    status: import("@reduxjs/toolkit/query").QueryStatus.rejected;
    isUninitialized: false;
    isLoading: false;
    isSuccess: false;
    isError: true;
})>(options?: {
    selectFromResult?: ((state: ({
        requestId?: undefined;
        status: import("@reduxjs/toolkit/query").QueryStatus.uninitialized;
        data?: undefined;
        error?: undefined;
        endpointName?: string | undefined;
        startedTimeStamp?: undefined;
        fulfilledTimeStamp?: undefined;
    } & {
        status: import("@reduxjs/toolkit/query").QueryStatus.uninitialized;
        isUninitialized: true;
        isLoading: false;
        isSuccess: false;
        isError: false;
    }) | ({
        status: import("@reduxjs/toolkit/query").QueryStatus.fulfilled;
    } & Omit<{
        requestId: string;
        data?: BugReportResponse | undefined;
        error?: unknown;
        endpointName: string;
        startedTimeStamp: number;
        fulfilledTimeStamp?: number | undefined;
    }, "data" | "fulfilledTimeStamp"> & Required<Pick<{
        requestId: string;
        data?: BugReportResponse | undefined;
        error?: unknown;
        endpointName: string;
        startedTimeStamp: number;
        fulfilledTimeStamp?: number | undefined;
    }, "data" | "fulfilledTimeStamp">> & {
        error: undefined;
    } & {
        status: import("@reduxjs/toolkit/query").QueryStatus.fulfilled;
        isUninitialized: false;
        isLoading: false;
        isSuccess: true;
        isError: false;
    }) | ({
        status: import("@reduxjs/toolkit/query").QueryStatus.pending;
    } & {
        requestId: string;
        data?: BugReportResponse | undefined;
        error?: unknown;
        endpointName: string;
        startedTimeStamp: number;
        fulfilledTimeStamp?: number | undefined;
    } & {
        data?: undefined;
    } & {
        status: import("@reduxjs/toolkit/query").QueryStatus.pending;
        isUninitialized: false;
        isLoading: true;
        isSuccess: false;
        isError: false;
    }) | ({
        status: import("@reduxjs/toolkit/query").QueryStatus.rejected;
    } & Omit<{
        requestId: string;
        data?: BugReportResponse | undefined;
        error?: unknown;
        endpointName: string;
        startedTimeStamp: number;
        fulfilledTimeStamp?: number | undefined;
    }, "error"> & Required<Pick<{
        requestId: string;
        data?: BugReportResponse | undefined;
        error?: unknown;
        endpointName: string;
        startedTimeStamp: number;
        fulfilledTimeStamp?: number | undefined;
    }, "error">> & {
        status: import("@reduxjs/toolkit/query").QueryStatus.rejected;
        isUninitialized: false;
        isLoading: false;
        isSuccess: false;
        isError: true;
    })) => R) | undefined;
    fixedCacheKey?: string | undefined;
} | undefined) => readonly [(arg: {
    diagnosticInfo: ErrorPayload;
}) => import("@reduxjs/toolkit/query").MutationActionCreatorResult<import("@reduxjs/toolkit/query").MutationDefinition<{
    diagnosticInfo: ErrorPayload;
}, 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", BugReportResponse, "metabase-api">>, import("@reduxjs/toolkit/query").TSHelpersNoInfer<R> & {
    originalArgs?: {
        diagnosticInfo: ErrorPayload;
    } | undefined;
    reset: () => void;
}];
export {};
