import { Observable } from 'rxjs';
import * as GQL from '../backend/graphqlschema';
import { SurveyResponse } from './SurveyPage';
/**
 * Submits a user satisfaction survey.
 */
export declare function submitSurvey(input: SurveyResponse): Observable<void>;
/**
 * Fetches survey responses.
 */
export declare function fetchAllSurveyResponses(args: {
    first?: number;
}): Observable<GQL.ISurveyResponseConnection>;
/**
 * Fetches users, with their survey responses.
 */
export declare function fetchAllUsersWithSurveyResponses(args: {
    activePeriod?: GQL.UserActivePeriod;
    first?: number;
    query?: string;
}): Observable<GQL.IUserConnection>;
export declare type SurveyResponseConnectionAggregates = Exclude<GQL.ISurveyResponseConnection, 'nodes'>;
/**
 * Fetches survey response aggregate data.
 */
export declare function fetchSurveyResponseAggregates(): Observable<SurveyResponseConnectionAggregates>;
//# sourceMappingURL=backend.d.ts.map