import { Action } from 'redux'; import { ActionsObservable } from "redux-observable"; export declare const SCHEMA_LOAD_REQUEST = "schema/SCHEMA_LOAD_REQUEST"; export declare const SCHEMA_LOAD_RESULT = "schema/SCHEMA_LOAD_RESULT"; export declare const SCHEMA_LOAD_ERROR = "schema/SCHEMA_LOAD_ERROR"; export interface ISchemaResult { id: string; name: string; } export interface ISchemaAjaxError { type: string; message: string; } export declare const loadSchema: (userid: string) => { type: string; userid: string; }; export declare const loadSchemaResult: (results: ISchemaResult) => { type: string; results: ISchemaResult; }; export declare const loadSchemaFailure: (message: string) => ISchemaAjaxError; export declare const isLoadingSchemaReducer: (state: boolean, action: Action) => boolean; export declare const loadSchemaEpic: (action$: ActionsObservable, store: any, { getJSON }: any) => import("rxjs/Rx").Observable;