import type { EndpointRequest, Operation } from './../../../types/common.ts';
export interface IEndpoints {
    'DELETE /shares/{sharedDriveItem-id}/list/permissions/{permission-id}': Operation<'/shares/{sharedDriveItem-id}/list/permissions/{permission-id}', 'delete'>;
    'GET /shares/{sharedDriveItem-id}/list/permissions': Operation<'/shares/{sharedDriveItem-id}/list/permissions', 'get'>;
    'GET /shares/{sharedDriveItem-id}/list/permissions/{permission-id}': Operation<'/shares/{sharedDriveItem-id}/list/permissions/{permission-id}', 'get'>;
    'PATCH /shares/{sharedDriveItem-id}/list/permissions/{permission-id}': Operation<'/shares/{sharedDriveItem-id}/list/permissions/{permission-id}', 'patch'>;
    'POST /shares/{sharedDriveItem-id}/list/permissions': Operation<'/shares/{sharedDriveItem-id}/list/permissions', 'post'>;
    'POST /shares/{sharedDriveItem-id}/list/permissions/{permission-id}/grant': Operation<'/shares/{sharedDriveItem-id}/list/permissions/{permission-id}/grant', 'post'>;
    'POST /shares/{sharedDriveItem-id}/list/permissions/{permission-id}/revokeGrants': Operation<'/shares/{sharedDriveItem-id}/list/permissions/{permission-id}/revokeGrants', 'post'>;
}
/**
 * `DELETE /shares/{sharedDriveItem-id}/list/permissions/{permission-id}`
 *
 */
export declare function del(params?: IEndpoints['DELETE /shares/{sharedDriveItem-id}/list/permissions/{permission-id}']['parameters']): EndpointRequest<IEndpoints['DELETE /shares/{sharedDriveItem-id}/list/permissions/{permission-id}']['response']>;
/**
 * `GET /shares/{sharedDriveItem-id}/list/permissions`
 *
 * The set of permissions for the item. Read-only. Nullable.
 */
export declare function list(params?: IEndpoints['GET /shares/{sharedDriveItem-id}/list/permissions']['parameters']): EndpointRequest<IEndpoints['GET /shares/{sharedDriveItem-id}/list/permissions']['response']>;
/**
 * `GET /shares/{sharedDriveItem-id}/list/permissions/{permission-id}`
 *
 * The set of permissions for the item. Read-only. Nullable.
 */
export declare function get(params?: IEndpoints['GET /shares/{sharedDriveItem-id}/list/permissions/{permission-id}']['parameters']): EndpointRequest<IEndpoints['GET /shares/{sharedDriveItem-id}/list/permissions/{permission-id}']['response']>;
/**
 * `PATCH /shares/{sharedDriveItem-id}/list/permissions/{permission-id}`
 *
 */
export declare function update(body: IEndpoints['PATCH /shares/{sharedDriveItem-id}/list/permissions/{permission-id}']['body'], params?: IEndpoints['PATCH /shares/{sharedDriveItem-id}/list/permissions/{permission-id}']['parameters']): EndpointRequest<IEndpoints['PATCH /shares/{sharedDriveItem-id}/list/permissions/{permission-id}']['response']>;
/**
 * `POST /shares/{sharedDriveItem-id}/list/permissions`
 *
 */
export declare function create(body: IEndpoints['POST /shares/{sharedDriveItem-id}/list/permissions']['body'], params?: IEndpoints['POST /shares/{sharedDriveItem-id}/list/permissions']['parameters']): EndpointRequest<IEndpoints['POST /shares/{sharedDriveItem-id}/list/permissions']['response']>;
export declare const grant: {
    /**
     * `POST /shares/{sharedDriveItem-id}/list/permissions/{permission-id}/grant`
     *
     * Grant users access to a link represented by a permission.
     */
    create: (body: IEndpoints["POST /shares/{sharedDriveItem-id}/list/permissions/{permission-id}/grant"]["body"], params?: IEndpoints["POST /shares/{sharedDriveItem-id}/list/permissions/{permission-id}/grant"]["parameters"]) => EndpointRequest<IEndpoints["POST /shares/{sharedDriveItem-id}/list/permissions/{permission-id}/grant"]["response"]>;
};
export declare const revokeGrants: {
    /**
     * `POST /shares/{sharedDriveItem-id}/list/permissions/{permission-id}/revokeGrants`
     *
     * Revoke access to a listItem or driveItem granted via a sharing link by removing the specified recipient from the link.
     */
    create: (body: IEndpoints["POST /shares/{sharedDriveItem-id}/list/permissions/{permission-id}/revokeGrants"]["body"], params?: IEndpoints["POST /shares/{sharedDriveItem-id}/list/permissions/{permission-id}/revokeGrants"]["parameters"]) => EndpointRequest<IEndpoints["POST /shares/{sharedDriveItem-id}/list/permissions/{permission-id}/revokeGrants"]["response"]>;
};
