import type { UseMutationOptions } from "@tanstack/react-query";
import type { App } from "@calcom/types/App";
type CustomUseMutationOptions = Omit<UseMutationOptions<unknown, unknown, unknown, unknown>, "mutationKey" | "mutationFn" | "onSuccess"> | undefined;
type AddAppMutationData = {
    setupPending: boolean;
    message?: string;
} | void;
export type UseAddAppMutationOptions = CustomUseMutationOptions & {
    onSuccess?: (data: AddAppMutationData) => void;
    installGoogleVideo?: boolean;
    returnTo?: string;
};
declare function useAddAppMutation(_type: App["type"] | null, options?: UseAddAppMutationOptions): import("@tanstack/react-query").UseMutationResult<AddAppMutationData, Error, "" | {
    type?: App["type"];
    variant?: string;
    slug?: string;
    teamId?: number;
    returnTo?: string;
    defaultInstall?: boolean;
}, unknown>;
export default useAddAppMutation;
//# sourceMappingURL=useAddAppMutation.d.ts.map