import React from 'react'; import type { Attachment } from 'open-chat-js'; import type { DefaultStreamChatGenerics } from '../../types/types'; export type AudioProps = { og: Attachment; }; type PlayButtonProps = { isPlaying: boolean; onClick: () => void; }; export declare const PlayButton: ({ isPlaying, onClick }: PlayButtonProps) => React.JSX.Element; type ProgressBarProps = { progress: number; } & Pick, 'onClick'>; export declare const ProgressBar: ({ onClick, progress }: ProgressBarProps) => React.JSX.Element; /** * Audio attachment with play/pause button and progress bar */ export declare const Audio: (props: AudioProps) => React.JSX.Element; export {}; //# sourceMappingURL=Audio.d.ts.map