import type { ApiResponse, ApiErrorResponse } from '../../../types/index.ts';
import type { DuplicateScheduleHandlerReturn } from '../../../../trpc/server/routers/viewer/availability/schedule/duplicate.handler';
interface useAtomDuplicateScheduleOptions {
    onSuccess?: (res: ApiResponse<DuplicateScheduleHandlerReturn>) => void;
    onError?: (err: ApiErrorResponse) => void;
}
export declare const useAtomDuplicateSchedule: ({ onSuccess, onError }?: useAtomDuplicateScheduleOptions) => import("@tanstack/react-query").UseMutationResult<ApiErrorResponse | import('../../../types/index.ts').ApiSuccessResponse<{
    schedule: {
        name: string;
        id: number;
        userId: number;
        timeZone: string | null;
    };
}>, unknown, {
    scheduleId: number;
}, unknown>;
export {};
//# sourceMappingURL=useAtomDuplicateSchedule.d.ts.map