import type { EndpointRequest, Operation } from './../../../../types/common.ts';
export interface IEndpoints {
    'DELETE /storage/fileStorage/containers/{fileStorageContainer-id}/permissions/{permission-id}': Operation<'/storage/fileStorage/containers/{fileStorageContainer-id}/permissions/{permission-id}', 'delete'>;
    'GET /storage/fileStorage/containers/{fileStorageContainer-id}/permissions': Operation<'/storage/fileStorage/containers/{fileStorageContainer-id}/permissions', 'get'>;
    'GET /storage/fileStorage/containers/{fileStorageContainer-id}/permissions/{permission-id}': Operation<'/storage/fileStorage/containers/{fileStorageContainer-id}/permissions/{permission-id}', 'get'>;
    'PATCH /storage/fileStorage/containers/{fileStorageContainer-id}/permissions/{permission-id}': Operation<'/storage/fileStorage/containers/{fileStorageContainer-id}/permissions/{permission-id}', 'patch'>;
    'POST /storage/fileStorage/containers/{fileStorageContainer-id}/permissions': Operation<'/storage/fileStorage/containers/{fileStorageContainer-id}/permissions', 'post'>;
    'POST /storage/fileStorage/containers/{fileStorageContainer-id}/permissions/{permission-id}/grant': Operation<'/storage/fileStorage/containers/{fileStorageContainer-id}/permissions/{permission-id}/grant', 'post'>;
    'POST /storage/fileStorage/containers/{fileStorageContainer-id}/permissions/{permission-id}/revokeGrants': Operation<'/storage/fileStorage/containers/{fileStorageContainer-id}/permissions/{permission-id}/revokeGrants', 'post'>;
}
/**
 * `DELETE /storage/fileStorage/containers/{fileStorageContainer-id}/permissions/{permission-id}`
 *
 */
export declare function del(params?: IEndpoints['DELETE /storage/fileStorage/containers/{fileStorageContainer-id}/permissions/{permission-id}']['parameters']): EndpointRequest<IEndpoints['DELETE /storage/fileStorage/containers/{fileStorageContainer-id}/permissions/{permission-id}']['response']>;
/**
 * `GET /storage/fileStorage/containers/{fileStorageContainer-id}/permissions`
 *
 * The set of permissions for users in the fileStorageContainer. The permission for each user is set by the roles property. The possible values are reader, writer, manager, and owner. Read-write.
 */
export declare function list(params?: IEndpoints['GET /storage/fileStorage/containers/{fileStorageContainer-id}/permissions']['parameters']): EndpointRequest<IEndpoints['GET /storage/fileStorage/containers/{fileStorageContainer-id}/permissions']['response']>;
/**
 * `GET /storage/fileStorage/containers/{fileStorageContainer-id}/permissions/{permission-id}`
 *
 * The set of permissions for users in the fileStorageContainer. The permission for each user is set by the roles property. The possible values are reader, writer, manager, and owner. Read-write.
 */
export declare function get(params?: IEndpoints['GET /storage/fileStorage/containers/{fileStorageContainer-id}/permissions/{permission-id}']['parameters']): EndpointRequest<IEndpoints['GET /storage/fileStorage/containers/{fileStorageContainer-id}/permissions/{permission-id}']['response']>;
/**
 * `PATCH /storage/fileStorage/containers/{fileStorageContainer-id}/permissions/{permission-id}`
 *
 */
export declare function update(body: IEndpoints['PATCH /storage/fileStorage/containers/{fileStorageContainer-id}/permissions/{permission-id}']['body'], params?: IEndpoints['PATCH /storage/fileStorage/containers/{fileStorageContainer-id}/permissions/{permission-id}']['parameters']): EndpointRequest<IEndpoints['PATCH /storage/fileStorage/containers/{fileStorageContainer-id}/permissions/{permission-id}']['response']>;
/**
 * `POST /storage/fileStorage/containers/{fileStorageContainer-id}/permissions`
 *
 */
export declare function create(body: IEndpoints['POST /storage/fileStorage/containers/{fileStorageContainer-id}/permissions']['body'], params?: IEndpoints['POST /storage/fileStorage/containers/{fileStorageContainer-id}/permissions']['parameters']): EndpointRequest<IEndpoints['POST /storage/fileStorage/containers/{fileStorageContainer-id}/permissions']['response']>;
export declare const grant: {
    /**
     * `POST /storage/fileStorage/containers/{fileStorageContainer-id}/permissions/{permission-id}/grant`
     *
     * Grant users access to a link represented by a permission.
     */
    create: (body: IEndpoints["POST /storage/fileStorage/containers/{fileStorageContainer-id}/permissions/{permission-id}/grant"]["body"], params?: IEndpoints["POST /storage/fileStorage/containers/{fileStorageContainer-id}/permissions/{permission-id}/grant"]["parameters"]) => EndpointRequest<IEndpoints["POST /storage/fileStorage/containers/{fileStorageContainer-id}/permissions/{permission-id}/grant"]["response"]>;
};
export declare const revokeGrants: {
    /**
     * `POST /storage/fileStorage/containers/{fileStorageContainer-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 /storage/fileStorage/containers/{fileStorageContainer-id}/permissions/{permission-id}/revokeGrants"]["body"], params?: IEndpoints["POST /storage/fileStorage/containers/{fileStorageContainer-id}/permissions/{permission-id}/revokeGrants"]["parameters"]) => EndpointRequest<IEndpoints["POST /storage/fileStorage/containers/{fileStorageContainer-id}/permissions/{permission-id}/revokeGrants"]["response"]>;
};
