import React from 'react'; import { type CSSObject } from 'restyle'; export interface ToolbarProps { /** Whether or not to allow copying the code block value. Accepts a boolean or a string that will be copied. */ allowCopy?: boolean | string; /** CSS object to apply to the toolbar. */ css?: CSSObject; /** Class name to apply to the toolbar. */ className?: string; /** Style to apply to the toolbar. */ style?: React.CSSProperties; /** The children of the toolbar rendered at the start. */ children?: React.ReactNode; } /** A toolbar for the `CodeBlock` component that displays the file path, a source link, and copy button. */ export declare function Toolbar({ allowCopy, css, className, style, children, }: ToolbarProps): Promise;