///
import * as React from "react";
export declare type Mode = "consult" | "edit";
export interface ApplicationAction {
summary?: React.ReactElement;
barLeft?: React.ReactElement;
barRight?: React.ReactElement;
cartridge?: React.ReactElement;
actions?: {
primary?: {
className?: string;
icon: string;
iconLibrary?: "material" | "font-awesome" | "font-custom";
label?: string;
action: () => void;
}[];
secondary?: {
className?: string;
label: string;
action: () => void;
}[];
};
canDeploy?: boolean;
}
export declare class ApplicationStore implements ApplicationAction {
actions: {
primary: {
className?: string;
icon: string;
iconLibrary?: "material" | "font-awesome" | "font-custom";
label?: string;
action: () => void;
}[];
secondary: {
className?: string;
label: string;
action: () => void;
}[];
};
canDeploy: boolean;
mode: {
[mode: string]: number;
};
route: string;
barLeft: JSX.Element;
barRight: JSX.Element;
cartridge: JSX.Element;
summary: JSX.Element;
changeMode(newMode: Mode, previousMode: Mode): void;
clearHeader(): void;
setHeader({cartridge, summary, actions, barLeft, canDeploy, barRight}: ApplicationAction, isPartial?: boolean): void;
}
/** Instance principale de l'ApplicationStore. */
export declare const applicationStore: ApplicationStore;