import * as Types from '../../../../../../../../api/types';
import * as ApolloReactCommon from '@apollo/client';
import * as ApolloReactHooks from '@apollo/client';
export declare type CompleteAttachmentMutationVariables = Types.Exact<{
    id: Types.Scalars['ID'];
}>;
export declare type CompleteAttachmentMutation = {
    __typename?: 'Mutation';
    CompleteAttachment: {
        __typename?: 'Attachment';
        _id: string;
        pending: boolean;
        uploaded: boolean;
        fileName: string;
        extension: string;
        size?: number | null | undefined;
        url?: string | null | undefined;
        uploadUrl?: string | null | undefined;
    };
};
export declare const CompleteAttachmentDocument: ApolloReactCommon.DocumentNode;
export declare type CompleteAttachmentMutationFn = ApolloReactCommon.MutationFunction<CompleteAttachmentMutation, CompleteAttachmentMutationVariables>;
/**
 * __useCompleteAttachmentMutation__
 *
 * To run a mutation, you first call `useCompleteAttachmentMutation` within a React component and pass it any options that fit your needs.
 * When your component renders, `useCompleteAttachmentMutation` returns a tuple that includes:
 * - A mutate function that you can call at any time to execute the mutation
 * - An object with fields that represent the current status of the mutation's execution
 *
 * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
 *
 * @example
 * const [completeAttachmentMutation, { data, loading, error }] = useCompleteAttachmentMutation({
 *   variables: {
 *      id: // value for 'id'
 *   },
 * });
 */
export declare function useCompleteAttachmentMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<CompleteAttachmentMutation, CompleteAttachmentMutationVariables>): ApolloReactCommon.MutationTuple<CompleteAttachmentMutation, Types.Exact<{
    id: string;
}>, ApolloReactCommon.DefaultContext, ApolloReactCommon.ApolloCache<any>>;
export declare type CompleteAttachmentMutationHookResult = ReturnType<typeof useCompleteAttachmentMutation>;
export declare type CompleteAttachmentMutationResult = ApolloReactCommon.MutationResult<CompleteAttachmentMutation>;
export declare type CompleteAttachmentMutationOptions = ApolloReactCommon.BaseMutationOptions<CompleteAttachmentMutation, CompleteAttachmentMutationVariables>;
