import type { EndpointRequest, Operation } from './../../../../types/common.ts';
export interface IEndpoints {
    'DELETE /drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}': Operation<'/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}', 'delete'>;
    'GET /drives/{drive-id}/list/items/{listItem-id}/permissions': Operation<'/drives/{drive-id}/list/items/{listItem-id}/permissions', 'get'>;
    'GET /drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}': Operation<'/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}', 'get'>;
    'PATCH /drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}': Operation<'/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}', 'patch'>;
    'POST /drives/{drive-id}/list/items/{listItem-id}/permissions': Operation<'/drives/{drive-id}/list/items/{listItem-id}/permissions', 'post'>;
    'POST /drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}/grant': Operation<'/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}/grant', 'post'>;
    'POST /drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}/revokeGrants': Operation<'/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}/revokeGrants', 'post'>;
}
/**
 * `DELETE /drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}`
 *
 */
export declare function del(params?: IEndpoints['DELETE /drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}']['parameters']): EndpointRequest<IEndpoints['DELETE /drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}']['response']>;
/**
 * `GET /drives/{drive-id}/list/items/{listItem-id}/permissions`
 *
 * The set of permissions for the item. Read-only. Nullable.
 */
export declare function list(params?: IEndpoints['GET /drives/{drive-id}/list/items/{listItem-id}/permissions']['parameters']): EndpointRequest<IEndpoints['GET /drives/{drive-id}/list/items/{listItem-id}/permissions']['response']>;
/**
 * `GET /drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}`
 *
 * The set of permissions for the item. Read-only. Nullable.
 */
export declare function get(params?: IEndpoints['GET /drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}']['parameters']): EndpointRequest<IEndpoints['GET /drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}']['response']>;
/**
 * `PATCH /drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}`
 *
 */
export declare function update(body: IEndpoints['PATCH /drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}']['body'], params?: IEndpoints['PATCH /drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}']['parameters']): EndpointRequest<IEndpoints['PATCH /drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}']['response']>;
/**
 * `POST /drives/{drive-id}/list/items/{listItem-id}/permissions`
 *
 */
export declare function create(body: IEndpoints['POST /drives/{drive-id}/list/items/{listItem-id}/permissions']['body'], params?: IEndpoints['POST /drives/{drive-id}/list/items/{listItem-id}/permissions']['parameters']): EndpointRequest<IEndpoints['POST /drives/{drive-id}/list/items/{listItem-id}/permissions']['response']>;
export declare const grant: {
    /**
     * `POST /drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}/grant`
     *
     * Grant users access to a link represented by a permission.
     */
    create: (body: IEndpoints["POST /drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}/grant"]["body"], params?: IEndpoints["POST /drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}/grant"]["parameters"]) => EndpointRequest<IEndpoints["POST /drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}/grant"]["response"]>;
};
export declare const revokeGrants: {
    /**
     * `POST /drives/{drive-id}/list/items/{listItem-id}/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 /drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}/revokeGrants"]["body"], params?: IEndpoints["POST /drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}/revokeGrants"]["parameters"]) => EndpointRequest<IEndpoints["POST /drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}/revokeGrants"]["response"]>;
};
