import * as Types from '../../../../../../../../api/types';
import * as ApolloReactCommon from '@apollo/client';
import * as ApolloReactHooks from '@apollo/client';
export declare type CreateAttachmentMutationVariables = Types.Exact<{
    fileName: Types.Scalars['String'];
}>;
export declare type CreateAttachmentMutation = {
    __typename?: 'Mutation';
    CreateAttachment: {
        __typename?: 'Attachment';
        _id: string;
        pending: boolean;
        uploaded: boolean;
        fileName: string;
        extension: string;
        size?: number | null;
        url?: string | null;
        uploadUrl?: string | null;
    };
};
export declare const CreateAttachmentDocument: ApolloReactCommon.DocumentNode;
export declare type CreateAttachmentMutationFn = ApolloReactCommon.MutationFunction<CreateAttachmentMutation, CreateAttachmentMutationVariables>;
/**
 * __useCreateAttachmentMutation__
 *
 * To run a mutation, you first call `useCreateAttachmentMutation` within a React component and pass it any options that fit your needs.
 * When your component renders, `useCreateAttachmentMutation` 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 [createAttachmentMutation, { data, loading, error }] = useCreateAttachmentMutation({
 *   variables: {
 *      fileName: // value for 'fileName'
 *   },
 * });
 */
export declare function useCreateAttachmentMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<CreateAttachmentMutation, CreateAttachmentMutationVariables>): ApolloReactCommon.MutationTuple<CreateAttachmentMutation, Types.Exact<{
    fileName: string;
}>, ApolloReactCommon.DefaultContext, ApolloReactCommon.ApolloCache<any>>;
export declare type CreateAttachmentMutationHookResult = ReturnType<typeof useCreateAttachmentMutation>;
export declare type CreateAttachmentMutationResult = ApolloReactCommon.MutationResult<CreateAttachmentMutation>;
export declare type CreateAttachmentMutationOptions = ApolloReactCommon.BaseMutationOptions<CreateAttachmentMutation, CreateAttachmentMutationVariables>;
