import { QuestionPageController } from '~/src/server/plugins/engine/pageControllers/QuestionPageController.js'; import { type FormContext } from '~/src/server/plugins/engine/types.js'; import { type FormRequest } from '~/src/server/routes/types.js'; export declare class StartPageController extends QuestionPageController { /** * The controller which is used when Page["controller"] is defined as "./pages/start.js" * This page should not be used in production. This page is helpful for prototyping start pages within the app, * but start pages should really live on gov.uk (whitehall publisher) so a user can be properly signposted. */ allowSaveAndExit: boolean; getViewModel(request: FormRequest, context: FormContext): { isStartPage: boolean; components: import("../components/types.js").ComponentViewModel[]; context: FormContext; errors?: import("~/src/server/plugins/engine/types.js").FormSubmissionError[]; hasMissingNotificationEmail?: boolean; allowSaveAndExit: boolean; showSubmitButton?: boolean; showPaymentExpiredNotification?: boolean; page: import("./PageController.js").PageController; name?: string; pageTitle: string; sectionTitle?: string; showTitle: boolean; backLink?: import("../components/types.js").BackLink; feedbackLink?: string; serviceUrl: string; phaseTag?: string; /** * - Base layout path */ baseLayoutPath?: string | undefined; /** * - Cross-Site Request Forgery (CSRF) token */ crumb?: string | undefined; /** * - Content Security Policy (CSP) nonce */ cspNonce?: string | undefined; /** * - Current path */ currentPath?: string | undefined; /** * - Preview mode */ previewMode?: string | undefined; /** * - Form slug */ slug?: string | undefined; /** * - Error message for temporary error messages (not related to form state) */ error?: string | undefined; }; }