import { FoundationElement, TabsOrientation } from '@microsoft/fast-foundation'; import { StepperTab } from '../stepper-tab'; export type Validation = { isValid: () => any; }; /** * @tagname %%prefix%%-stepper * * @fires step-click - Fired when a step tab is activated * @fires validation-failure - Fired when advancing fails validation * @fires submit - Fired when the final step is submitted * @fires next-step - Fired when validation succeeds before advancing * @fires validation-success - Fired when validation succeeds before advancing */ export declare class Stepper extends FoundationElement { hideSubmitButton: boolean; hideStepNumber: boolean; allowBackwardJumps: boolean; allowForwardJumps: boolean; hideAllButtons: boolean; hideTabs: boolean; orientation: TabsOrientation; orientationChanged(): void; activeid: string; activeidChanged(oldValue: string, newValue: string): void; tabs: StepperTab[] & HTMLElement[]; tabsChanged(): void; tabpanels: HTMLElement[]; tabpanelsChanged(): void; validation: Validation[]; progressValue: number; activeTabIndex: number; activetab: HTMLElement; private tabIds; private tabpanelIds; private pendingNextStep; private slotsInitialized; connectedCallback(): void; private setTabsAndTabPanels; private checkAndExecutePendingNextStep; private getActiveIndex; /** * Go to a specific step by step number (1-based indexing) * @param stepNumber - The step number to go to (1-based) * @param bypassJumpRestrictions - If true, ignores UI jump restrictions (default: false) * @returns true if successful, false if step number is invalid or already on that step */ goToStep(stepNumber: number, bypassJumpRestrictions?: boolean): boolean; /** * Go to the first step (step 1) * @returns true if successful, false if already on first step */ goToFirstStep(): boolean; /** * Go to the last step * @returns true if successful, false if already on last step */ goToLastStep(): boolean; handleStepClick(stepIndex: any): void; private handleBackwardJump; private handleForwardJump; get disabledPreviousStep(): boolean; get isLastStep(): boolean; get islastStepValid(): boolean; _submit(): void; nextStep(): void; previousStep(): void; protected setTabs: () => void; getCompletedTabs: () => void; private setTabPanels; private getTabIds; private getTabPanelIds; private resetCompletedState; } export declare const foundationStepperShadowOptions: ShadowRootInit; export declare const defaultStepperConfig: {}; /** * The Foundation Stepper * * @public * @remarks * HTML Element: \ */ export declare const foundationStepper: (overrideDefinition?: import("@microsoft/fast-foundation").OverrideFoundationElementDefinition<{ baseName: string; template: import("@microsoft/fast-element").ViewTemplate; styles: import("@microsoft/fast-element").ElementStyles; shadowOptions: ShadowRootInit; }>) => import("@microsoft/fast-foundation").FoundationElementRegistry<{ baseName: string; template: import("@microsoft/fast-element").ViewTemplate; styles: import("@microsoft/fast-element").ElementStyles; shadowOptions: ShadowRootInit; }, typeof Stepper>; //# sourceMappingURL=stepper.d.ts.map