import type { EndpointRequest, Operation } from './../../../types/common.ts';
export interface IEndpoints {
    'DELETE /me/events/{event-id}/attachments/{attachment-id}': Operation<'/me/events/{event-id}/attachments/{attachment-id}', 'delete'>;
    'GET /me/events/{event-id}/attachments': Operation<'/me/events/{event-id}/attachments', 'get'>;
    'GET /me/events/{event-id}/attachments/{attachment-id}': Operation<'/me/events/{event-id}/attachments/{attachment-id}', 'get'>;
    'POST /me/events/{event-id}/attachments': Operation<'/me/events/{event-id}/attachments', 'post'>;
    'POST /me/events/{event-id}/attachments/createUploadSession': Operation<'/me/events/{event-id}/attachments/createUploadSession', 'post'>;
}
/**
 * `DELETE /me/events/{event-id}/attachments/{attachment-id}`
 *
 * Delete an attachment from a user calendar event, message, Outlook task, or post.
 */
export declare function del(params?: IEndpoints['DELETE /me/events/{event-id}/attachments/{attachment-id}']['parameters']): EndpointRequest<IEndpoints['DELETE /me/events/{event-id}/attachments/{attachment-id}']['response']>;
/**
 * `GET /me/events/{event-id}/attachments`
 *
 * Retrieve a list of attachment objects attached to an event.
 */
export declare function list(params?: IEndpoints['GET /me/events/{event-id}/attachments']['parameters']): EndpointRequest<IEndpoints['GET /me/events/{event-id}/attachments']['response']>;
/**
 * `GET /me/events/{event-id}/attachments/{attachment-id}`
 *
 * Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource.
 */
export declare function get(params?: IEndpoints['GET /me/events/{event-id}/attachments/{attachment-id}']['parameters']): EndpointRequest<IEndpoints['GET /me/events/{event-id}/attachments/{attachment-id}']['response']>;
/**
 * `POST /me/events/{event-id}/attachments`
 *
 * Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well.
 */
export declare function create(body: IEndpoints['POST /me/events/{event-id}/attachments']['body'], params?: IEndpoints['POST /me/events/{event-id}/attachments']['parameters']): EndpointRequest<IEndpoints['POST /me/events/{event-id}/attachments']['response']>;
export declare const createUploadSession: {
    /**
     * `POST /me/events/{event-id}/attachments/createUploadSession`
     *
     * Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that&#x27;s smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example.
     */
    create: (body: IEndpoints["POST /me/events/{event-id}/attachments/createUploadSession"]["body"], params?: IEndpoints["POST /me/events/{event-id}/attachments/createUploadSession"]["parameters"]) => EndpointRequest<IEndpoints["POST /me/events/{event-id}/attachments/createUploadSession"]["response"]>;
};
