///
import type { BadgeProps } from '@fluentui/react-components';
import type { Button } from '@fluentui/react-components';
import type { ComponentProps } from '@fluentui/react-components';
import type { ComponentState } from '@fluentui/react-components';
import type { DesignVersion } from '@fluentui-copilot/react-provider';
import type { ForwardRefComponent } from '@fluentui/react-components';
import type { JSXElement } from '@fluentui/react-utilities';
import * as React_2 from 'react';
import type { Slot } from '@fluentui/react-components';
import type { SlotClassNames } from '@fluentui/react-components';
import type { UseArrowNavigationGroupOptions } from '@fluentui/react-components';
/**
* @deprecated Use PromptStarterV2 instead.
* Deprecated on 10/21/2025
*/
export declare const PromptStarter: ForwardRefComponent;
export declare const promptStarterClassNames: SlotClassNames;
export declare const PromptStarterList: ForwardRefComponent;
export declare const promptStarterListClassNames: SlotClassNames;
declare type PromptStarterListContextValue = Pick;
/**
* PromptStarterList Props
*/
export declare type PromptStarterListProps = ComponentProps, 'gridWrapper'> & DesignVersion & {
/**
* Uncontrolled initial value for the expanded prop.
*
* @default false
*/
defaultExpanded?: boolean;
/**
* Controls whether the PromptStarterList is expanded.
*/
isExpanded?: boolean;
/**
* Callback to execute when the expanded state changes.
*/
onExpandedChange?: (event: React.MouseEvent, data: {
isExpanded: boolean;
}) => void;
/**
* Text for the expand button when the list is collapsed.
*
* default: "Show more"
*/
expandButtonLabel?: string;
/**
* Text for the expand button when the list is expanded.
*
* default: "Show less"
*/
collapseButtonLabel?: string;
/**
* Arrow navigation options. This can be used to customize Tabster's direction,
* tab behavior, and memoization options.
*
* default: { axis: 'horizontal', memorizeCurrent: true }
*/
arrowNavigationOptions?: UseArrowNavigationGroupOptions;
/**
* Whether to animate the entrance of its items when it first mounts.
*
* @default true
*/
animateOnMount?: boolean;
/**
* The number of rows that are visible in the two and three column layouts.
* In the one column layout, there will always be three visible PromptStarters.
*
* @default 1
*/
visibleRows?: number;
};
export declare type PromptStarterListSlots = {
root: NonNullable>;
gridWrapper: NonNullable>;
actions?: Slot<'span'>;
expandButton?: Slot;
};
/**
* State used in rendering PromptStarterList
*/
export declare type PromptStarterListState = ComponentState & Required> & {
numberOfColumns: number;
isExpanded?: boolean;
};
/**
* PromptStarter Props
* @deprecated Use PromptStarterV2 instead.
* Deprecated on 10/21/2025
*/
export declare type PromptStarterProps = ComponentProps & DesignVersion & {};
/**
* @deprecated Use PromptStarterV2 instead.
* Deprecated on 10/21/2025
*/
export declare type PromptStarterSlots = {
root: Slot<'button'>;
icon: NonNullable>;
category: NonNullable>;
prompt?: Slot<'span'>;
badge?: Slot;
};
/**
* State used in rendering PromptStarter
* @deprecated Use PromptStarterV2 instead.
* Deprecated on 10/21/2025
*/
export declare type PromptStarterState = ComponentState & Pick, 'designVersion'>;
export declare const PromptStarterV2: ForwardRefComponent;
export declare const promptStarterV2ClassNames: SlotClassNames;
/**
* PromptStarter Props
*/
export declare type PromptStarterV2Props = Omit, 'disabled'>;
export declare type PromptStarterV2Slots = {
root: NonNullable>;
primaryAction: NonNullable>;
icon?: Slot<'span'>;
category?: Slot<'span'>;
prompt: NonNullable>;
reasonMarker?: Slot<'span'>;
actions?: Slot<'span'>;
};
/**
* State used in rendering PromptStarter
*/
export declare type PromptStarterV2State = ComponentState & {
isSingleColumn?: boolean;
};
/**
* @deprecated Use PromptStarterV2 instead.
* Deprecated on 10/21/2025
*/
export declare const renderPromptStarter_unstable: (state: PromptStarterState) => JSXElement;
/**
* Render the final JSX of PromptStarterList
*/
export declare const renderPromptStarterList_unstable: (state: PromptStarterListState, contextValue: PromptStarterListContextValue) => JSXElement;
export declare const renderPromptStarterV2_unstable: (state: PromptStarterV2State) => JSXElement;
/**
* Create the state required to render PromptStarter.
*
* The returned state can be modified with hooks such as usePromptStarterStyles_unstable,
* before being passed to renderPromptStarter_unstable.
*
* @deprecated Use PromptStarterV2 instead.
* Deprecated on 10/21/2025
*
* @param props - props from this instance of PromptStarter
* @param ref - reference to root HTMLElement of PromptStarter
*/
export declare const usePromptStarter_unstable: (props: PromptStarterProps, ref: React.Ref) => PromptStarterState;
/**
* Create the state required to render PromptStarterList.
*
* The returned state can be modified with hooks such as usePromptStarterListStyles_unstable,
* before being passed to renderPromptStarterList_unstable.
*
* @param props - props from this instance of PromptStarterList
* @param ref - reference to root HTMLElement of PromptStarterList
*/
export declare const usePromptStarterList_unstable: (props: PromptStarterListProps, ref: React_2.Ref) => PromptStarterListState;
/**
* Apply styling to the PromptStarterList slots based on the state
*/
export declare const usePromptStarterListStyles_unstable: (state: PromptStarterListState) => PromptStarterListState;
/**
* @deprecated Use PromptStarterV2 instead.
* Deprecated on 10/21/2025
*/
export declare const usePromptStarterStyles_unstable: (state: PromptStarterState) => PromptStarterState;
/**
* Create the state required to render PromptStarter.
*
* The returned state can be modified with hooks such as usePromptStarterStyles_unstable,
* before being passed to renderPromptStarter_unstable.
*
* @param props - props from this instance of PromptStarter
* @param ref - reference to root HTMLElement of PromptStarter
*/
export declare const usePromptStarterV2_unstable: (props: PromptStarterV2Props, ref: React.Ref) => PromptStarterV2State;
export declare const usePromptStarterV2Styles_unstable: (state: PromptStarterV2State) => PromptStarterV2State;
export { }