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