/** * Copyright IBM Corp. 2025, 2026 * * This source code is licensed under the Apache-2.0 license found in the * LICENSE file in the root directory of this source tree. */ import React, { ReactNode } from 'react'; import { type ButtonProps } from '../Button'; export interface TearsheetFooterProps { /** * Optional children to render in the footer. If provided, children are * rendered as-is (full custom layout). */ children?: ReactNode; /** * Optional class name to add to the footer element. */ className?: string; /** * Optional array of action button configurations rendered in a fluid * `ButtonSet`. Buttons are ordered ghost → secondary → primary automatically. * Ignored when `children` is provided. */ actions?: (ButtonProps & { label?: string; })[]; /** * Size applied to every action button. Defaults to `'2xl'` for wide * tearsheets and `'xl'` for narrow ones. */ buttonSize?: ButtonProps['size']; } declare const TearsheetFooter: React.ForwardRefExoticComponent>; export default TearsheetFooter;