import type { EndpointRequest, Operation } from './../../types/common.ts';
export interface IEndpoints {
    'DELETE /shares/{sharedDriveItem-id}/permission': Operation<'/shares/{sharedDriveItem-id}/permission', 'delete'>;
    'GET /shares/{sharedDriveItem-id}/permission': Operation<'/shares/{sharedDriveItem-id}/permission', 'get'>;
    'PATCH /shares/{sharedDriveItem-id}/permission': Operation<'/shares/{sharedDriveItem-id}/permission', 'patch'>;
    'POST /shares/{sharedDriveItem-id}/permission/grant': Operation<'/shares/{sharedDriveItem-id}/permission/grant', 'post'>;
    'POST /shares/{sharedDriveItem-id}/permission/revokeGrants': Operation<'/shares/{sharedDriveItem-id}/permission/revokeGrants', 'post'>;
}
/**
 * `DELETE /shares/{sharedDriveItem-id}/permission`
 *
 */
export declare function del(params?: IEndpoints['DELETE /shares/{sharedDriveItem-id}/permission']['parameters']): EndpointRequest<IEndpoints['DELETE /shares/{sharedDriveItem-id}/permission']['response']>;
/**
 * `GET /shares/{sharedDriveItem-id}/permission`
 *
 * Used to access the permission representing the underlying sharing link
 */
export declare function get(params?: IEndpoints['GET /shares/{sharedDriveItem-id}/permission']['parameters']): EndpointRequest<IEndpoints['GET /shares/{sharedDriveItem-id}/permission']['response']>;
/**
 * `PATCH /shares/{sharedDriveItem-id}/permission`
 *
 */
export declare function update(body: IEndpoints['PATCH /shares/{sharedDriveItem-id}/permission']['body'], params?: IEndpoints['PATCH /shares/{sharedDriveItem-id}/permission']['parameters']): EndpointRequest<IEndpoints['PATCH /shares/{sharedDriveItem-id}/permission']['response']>;
export declare const grant: {
    /**
     * `POST /shares/{sharedDriveItem-id}/permission/grant`
     *
     * Grant users access to a link represented by a permission.
     */
    create: (body: IEndpoints["POST /shares/{sharedDriveItem-id}/permission/grant"]["body"], params?: IEndpoints["POST /shares/{sharedDriveItem-id}/permission/grant"]["parameters"]) => EndpointRequest<IEndpoints["POST /shares/{sharedDriveItem-id}/permission/grant"]["response"]>;
};
export declare const revokeGrants: {
    /**
     * `POST /shares/{sharedDriveItem-id}/permission/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}/permission/revokeGrants"]["body"], params?: IEndpoints["POST /shares/{sharedDriveItem-id}/permission/revokeGrants"]["parameters"]) => EndpointRequest<IEndpoints["POST /shares/{sharedDriveItem-id}/permission/revokeGrants"]["response"]>;
};
