import { BaseResourceOptions } from '@gitbeaker/requester-utils' ; import { ResourceVariables } from '../templates' ; import { VariableSchema } from '../templates/types' ; import { PaginatedRequestOptions , BaseRequestOptions , CamelizedRecord } from '../infrastructure' ; export interface GroupVariables < C extends boolean = false > extends ResourceVariables < C > { all ( groupId , options ? ) : Promise < CamelizedRecord < C , VariableSchema > [ ] > ; create ( groupId , options ? ) : Promise < CamelizedRecord < C , VariableSchema > > ; edit ( groupId , key , options ? ) : Promise < CamelizedRecord < C , VariableSchema > > ; show ( groupId , key , options ? ) : Promise < CamelizedRecord < C , VariableSchema > > ; remove ( groupId , key , options ? ) : Promise < void > ; } export class GroupVariables < C extends boolean = false > extends ResourceVariables < C > { constructor ( options ) { super ( 'groups' , options ) ; } }