import type { FC, ReactNode } from "react"; import { type ButtonWithPendingStateProps, type NonPrimaryButtonProps, type PrimaryButtonProps } from "../ButtonV2/ButtonProps.type"; export interface ModalFooterTrailingComponents { /** * @deprecated props accepting props from other components should accept components instead. * Use primaryButton instead */ primaryButtonProps?: PrimaryButtonProps; primaryButton: ReactNode; /** * @deprecated props accepting props from other components should accept components instead. * Use secondaryButton instead */ secondaryButtonProps?: NonPrimaryButtonProps; secondaryButton?: ReactNode; } export type ModalFooterLeadingComponent = string | ButtonWithPendingStateProps; export type ModalFooterProps = { /** * @deprecated props accepting props from other components should accept components instead. * Use footerLeadingAccessory instead */ footerLeadingComponent?: ModalFooterLeadingComponent; footerLeadingAccessory?: string | ReactNode; footerTrailingComponents: ModalFooterTrailingComponents; }; export declare const ModalFooter: FC;