import { DialogContainerEnvironment, StandaloneContainerEnvironment } from "../types/container.js"; import { EnvironmentSyncCallback, ForceRerenderCallback, SimpleFormEnvironment, StepFormEnvironment, WizardFormEnvironment } from "../types/form.js"; import { StepEnvironment } from "../types/step.js"; import { AllowStepNavigation } from "../types/navigation.js"; import { WizardStepDefinition } from "../../form/types.js"; import { FooterEnvironment } from "../types/footer.js"; import { AnyNavigationEnvironment, HeaderContent, HeaderEnvironment, ProgressStyleType } from "../types/header.js"; import { DialogConfig } from "../../dialog/Dialog.types.js"; import { BaseRecord } from "@refinedev/core"; //#region src/components/shared/environment/builders.d.ts declare class EnvironmentBuilder { protected _container: DialogContainerEnvironment | null | StandaloneContainerEnvironment; protected _form: null | SimpleFormEnvironment | StepFormEnvironment | WizardFormEnvironment; protected _step: null | StepEnvironment; build(): any; dialog(options: { dialogConfig: DialogConfig; onClose: () => void; }): this; simpleForm(options: { isSubmitting?: boolean; methods: any; forceRerender?: ForceRerenderCallback; environmentSync?: EnvironmentSyncCallback; }): this; standalone(): this; step(options: { current: number; isFirst: boolean; isLast: boolean; onNext?: () => Promise; onPrevious?: () => Promise; onRetry?: () => Promise; jumpTo?: (step: number) => void; total: number; retryCount?: number; }): this; stepForm(options: { isSubmitting?: boolean; methods: any; forceRerender?: ForceRerenderCallback; environmentSync?: EnvironmentSyncCallback; }): this; wizardForm(options: { isSubmitting: boolean; methods: any; forceRerender?: ForceRerenderCallback; environmentSync?: EnvironmentSyncCallback; }): this; protected validate(): void; protected validateHeader(): void; protected validateContainerOnly(): void; protected validateFormOnly(): void; } declare class FooterEnvironmentBuilder extends EnvironmentBuilder { build(): FooterEnvironment; buildContainerOnly(): Pick, "container">; buildFormOnly(): Pick, "form">; } declare class HeaderEnvironmentBuilder extends EnvironmentBuilder { protected _content: HeaderContent | null; protected _navigation: AnyNavigationEnvironment | null; build(): HeaderEnvironment; content(options: { actions?: any[]; description?: string; title?: string; }): this; noneNavigation(): this; stepNavigation(options: { current?: number; total?: number; }): this; wizardNavigation(options: { allowNavigation?: AllowStepNavigation; current: number; descriptionMaxWidth?: string; disabledSteps?: number[]; iconSize?: string; onStepClick?: (stepIndex: number) => void; progressStyle?: ProgressStyleType; showStepDescriptions?: boolean; showStepTitles?: boolean; steps?: WizardStepDefinition[]; total: number; }): this; } declare const Environment: { footer(): FooterEnvironmentBuilder; header(): HeaderEnvironmentBuilder; }; //#endregion export { Environment, EnvironmentBuilder, FooterEnvironmentBuilder, HeaderEnvironmentBuilder }; //# sourceMappingURL=builders.d.ts.map