import type * as Stuntman from '@stuntman/shared';
export declare class Client {
    private options;
    private get baseUrl();
    constructor(options?: Partial<Stuntman.ClientConfig>);
    private fetch;
    getRules(): Promise<Stuntman.LiveRule[]>;
    getRule(id: string): Promise<Stuntman.LiveRule>;
    disableRule(id: string): Promise<void>;
    enableRule(id: string): Promise<void>;
    removeRule(id: string): Promise<void>;
    addRule(rule: Stuntman.SerializableRule): Promise<Stuntman.Rule>;
    getTraffic(rule: Stuntman.Rule): Promise<Stuntman.LogEntry[]>;
    getTraffic(ruleIdOrLabel: string): Promise<Stuntman.LogEntry[]>;
}
//# sourceMappingURL=apiClient.d.ts.map