import type { Action, Attachment } from 'stream-chat'; import type { ActionHandlerReturnType } from '../Message/hooks/useActionHandler'; export type AttachmentActionsProps = Attachment & { /** Actions to render as buttons. */ actions: Action[]; /** Prefix of each action button's React key (`${id}-${action.value}`). */ id: string; /** Text rendered before the action buttons. */ text: string; /** Called with the action's name and value and the click event. */ actionHandler?: ActionHandlerReturnType; /** `value` of the action button to focus on initial render. */ defaultFocusedActionValue?: string; }; export type AttachmentActionsDefaultFocusByType = Partial, string>>; export declare const defaultAttachmentActionsDefaultFocus: AttachmentActionsDefaultFocusByType; declare const UnMemoizedAttachmentActions: (props: AttachmentActionsProps) => import("react/jsx-runtime").JSX.Element; /** Renders the actions that can be taken on an attachment. */ export declare const AttachmentActions: typeof UnMemoizedAttachmentActions; export {}; //# sourceMappingURL=AttachmentActions.d.ts.map