import { CheckProps, RuntimeCheck, RuntimeCheckProps } from './check'; import { Content, Entrypoint } from './construct'; import { PlaywrightConfig } from './playwright-config'; import { Diagnostics } from './diagnostics'; import { MultiStepCheckBundle } from './multi-step-check-bundle'; import { ConfigDefaultsGetter } from './check-config'; import { CheckConfigDefaults } from '../services/checkly-config-loader'; import { Bundler } from '../services/check-parser/bundler'; export interface MultiStepCheckProps extends RuntimeCheckProps { /** * A valid piece of Node.js javascript code describing a multi-step interaction * with the Puppeteer or Playwright frameworks. */ code: Content | Entrypoint; playwrightConfig?: PlaywrightConfig; } /** * Creates a multi-step Check * * @remarks * * This class make use of the multi-step checks endpoints. */ export declare class MultiStepCheck extends RuntimeCheck { readonly code: Content | Entrypoint; readonly playwrightConfig?: PlaywrightConfig; /** * Constructs the multi-step instance * * @param logicalId unique project-scoped resource name identification * @param props check configuration properties * {@link https://www.checklyhq.com/docs/constructs/multistep-check/ Read more in the docs} */ constructor(logicalId: string, props: MultiStepCheckProps); describe(): string; validate(diagnostics: Diagnostics): Promise; protected configDefaultsGetter(props: CheckProps): ConfigDefaultsGetter; protected applyConfigDefaults>(props: T): T; static bundle(bundler: Bundler, entry: string, runtimeId?: string): Promise<{ script: string; scriptPath: string; dependencies: number[]; }>; getSourceFile(): string | undefined; bundle(bundler: Bundler): Promise; synthesize(): { checkType: "MULTI_STEP"; playwrightConfig: PlaywrightConfig | undefined; runtimeId: string | undefined; environmentVariables: import("./key-value-pair").default[] | undefined; activated: boolean | undefined; muted: boolean | undefined; shouldFail: boolean | undefined; locations: (keyof import("..").Region)[] | undefined; privateLocations: undefined; tags: string[] | undefined; frequency: number | undefined; frequencyOffset: number | undefined; groupId: import("./ref").Ref | null; retryStrategy: import("./retry-strategy").LinearRetryStrategy | import("./retry-strategy").ExponentialRetryStrategy | import("./retry-strategy").FixedRetryStrategy | import("./retry-strategy").SingleRetryRetryStrategy | null | undefined; doubleCheck: boolean | undefined; alertSettings: import("./alert-escalation-policy").AlertEscalation | undefined; useGlobalAlertSettings: boolean | undefined; runParallel: boolean | undefined; triggerIncident: { serviceId: import("./ref").Ref; severity: "MINOR" | "MEDIUM" | "MAJOR" | "CRITICAL"; name: string; description: string; notifySubscribers: boolean; } | undefined; description?: string | undefined; name: string; }; }