import { HttpClient } from '@angular/common/http';
import { ConfigService, Page } from '@valtimo/shared';
import { Observable } from 'rxjs';
import { ChoiceField, ChoiceFieldValue } from '../models';
import * as i0 from "@angular/core";
export declare class ChoiceFieldService {
    private http;
    private configService;
    private valtimoApiConfig;
    constructor(http: HttpClient, configService: ConfigService);
    query(params?: any): Observable<any>;
    queryPage(params?: any): Observable<Page<ChoiceField>>;
    get(id: string): Observable<any>;
    create(choiceField: any): Observable<any>;
    delete(id: any): Observable<Object>;
    update(choiceField: any): Observable<any>;
    queryValues(keyName: string, params?: any): Observable<any>;
    queryValuesPage(keyName: string, params?: any): Observable<Page<ChoiceFieldValue>>;
    getValue(choiceFieldId: string): Observable<any>;
    updateValue(choiceFieldValue: any, choiceFieldName: string): Observable<any>;
    createValue(choiceFieldValue: any, choiceFieldName: string): Observable<any>;
    getChoiceFieldByName(name: string): Observable<any>;
    getChoiceFieldValueByNameAndValue(name: string, value: string): Observable<any>;
    static ɵfac: i0.ɵɵFactoryDeclaration<ChoiceFieldService, never>;
    static ɵprov: i0.ɵɵInjectableDeclaration<ChoiceFieldService>;
}
//# sourceMappingURL=choice-field.service.d.ts.map