import { SecretInfo, Secret, GuidValue, JourneyInstance } from "@omnia/fx-models"; import { IValidator } from "@omnia/fx/ux"; export interface SecretInfoViewModel extends SecretInfo { localizedTitle: string; localizedBladeTitle: string; } export interface ISecretFormComponentProps { useValidator: IValidator; secret: Secret; profileId?: GuidValue; isSaving: boolean; isDeleting: boolean; journey?: () => JourneyInstance; onSave: (secret: Secret) => void; onDelete: (secret: Secret) => void; }