import { API } from './types'; import * as ResponseType from './responseTypes'; import { Permission } from './permissionTypes'; export declare type ListRoles = API<"/api/v1/accounts/:account_id/roles", { account_id: number; }, "GET", { account_id: string; } & Partial<{ state: ("active" | "inactive")[]; show_inherited: boolean; }>, ResponseType.Role>; export declare type GetASingleRole = API<"/api/v1/accounts/:account_id/roles/:id", { account_id: number; id: number; }, "GET", { account_id: string; role_id: number; } & Partial<{ role: string; }>, ResponseType.Role>; export declare type CreateANewRole = API<"/api/v1/accounts/:account_id/roles", { account_id: string; }, "POST", Pick & Partial & Record>, ResponseType.Role>; export declare type DeactivateARole = API<"/api/v1/accounts/:account_id/roles/:id", { account_id: number; id: number; }, "DELETE", { role_id: number; } & Partial<{ role: string; }>, ResponseType.Role>; export declare type ActivateARole = API<"/api/v1/accounts/:account_id/roles/:id/activate", { account_id: number; id: number; }, "POST", { role_id: number; }, ResponseType.Role>; export declare type UploadARole = API<"/api/v1/accounts/:account_id/roles/:id", { account_id: number; id: number; }, "PUT", Partial>, ResponseType.Role>;