import { Observable } from 'rxjs';
import { GraphQLDocument, GraphQLResult } from '../backend/graphql';
import * as GQL from '../backend/graphqlschema';
/**
 * Overwrites the settings for the subject.
 */
export declare function overwriteSettings(subject: GQL.ID, lastID: number | null, contents: string): Observable<void>;
export declare function editConfiguration(subject: GQL.ID, lastID: number | null, edit: GQL.IConfigurationEdit): Observable<void>;
/**
 * Runs a GraphQL mutation that includes configuration mutations, populating the variables object
 * with the lastID and subject for the configuration mutation.
 *
 * @param subject The subject whose configuration to update.
 * @param mutation The GraphQL mutation.
 * @param variables The GraphQL mutation's variables.
 */
export declare function mutateConfigurationGraphQL(subject: GQL.ConfigurationSubject | GQL.IConfigurationSubject | {
    id: GQL.ID;
}, mutation: GraphQLDocument, variables?: any): Observable<GraphQLResult<GQL.IMutation>>;
//# sourceMappingURL=backend.d.ts.map