/** * Hook for role-related Permit API operations */ export declare const usePermitRoleApi: () => { listRoles: () => Promise, "application/json">, "error"> & { error: string | null; }>; getRole: (roleKey: string) => Promise, "application/json">, "error"> & { error: string | null; }>; createRole: (roleKey: string, roleName: string) => Promise, "application/json">, "error"> & { error: string | null; }>; updateRole: (roleKey: string, roleName: string, permissions?: string[]) => Promise, "application/json">, "error"> & { error: string | null; }>; createResourceRole: (resourceKey: string, roleKey: string, roleName: string, permissionString: string | string[]) => Promise, "application/json">, "error"> & { error: string | null; }>; updateResourceRole: (resourceKey: string, roleKey: string, permissionString: string | string[]) => Promise, "application/json">, "error"> & { error: string | null; }>; };