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