import { SvelteComponent } from 'svelte' export type ButtonGridClickEvent = CustomEvent<{ cell: { x: number y: number } index: number label: string }> import type { ButtonGridApi as ButtonGridRef } from '@kitschpatrol/tweakpane-plugin-essentials' import type { ButtonGridBladeParams as ButtonGridOptions } from '@kitschpatrol/tweakpane-plugin-essentials/dist/types/button-grid/plugin.d.ts' declare const __propDef: { props: Omit< { /** * Blade configuration exposing Tweakpane's internal * [`BladeParams`](https://tweakpane.github.io/docs/api/interfaces/BaseBladeParams.html). */ options: ButtonGridOptions /** * Prevent interactivity and gray out the control. * * @default `false` */ disabled?: boolean /** * Custom color scheme. * * If undefined, inherits default Tweakpane theme equivalent to * `ThemeUtils.presets.standard`, or the theme set with * `setGlobalDefaultTheme()`. * * @default `undefined` */ theme?: import('..').Theme | undefined /** * Reference to internal Tweakpane * [`BladeApi`](https://tweakpane.github.io/docs/api/classes/BladeApi.html) * for this blade. * * This property is exposed for advanced use cases only, such as when * implementing convenience components wrapping ``'s functionality. * * Direct manipulation of Tweakpane's internals can break _Svelte Tweakpane * UI_ abstractions. * * @bindable * @readonly */ ref?: ButtonGridRef | undefined /** * Imported Tweakpane `TpPluginBundle` (aliased as `Plugin`) module to * automatically register in the ``'s containing ``. * * This property is exposed for advanced use cases only, such as when * implementing convenience components wrapping ``'s functionality in * combination with a Tweakpane plugin. * * Direct manipulation of Tweakpane's internals can break _Svelte Tweakpane * UI_ abstractions. * * @default `undefined` */ plugin?: import('../utils.js').Plugin | undefined }, 'ref' | 'options' | 'plugin' > & { /** * Array of names, each of which will become the title of a button in the * grid. */ buttons: string[] /** * Number of columns to arrange the buttons into. * * Setting `columns` without setting `rows` will lock the column count and * allow the row count to change dynamically based on the number of * buttons. * * @default `undefined` */ columns?: number /** * Text displayed next to the button grid. * * @default `undefined` */ label?: string /** * Number of rows to arrange the buttons into. * * Setting `rows` without setting `columns` will lock the column count and * allow the column count to change dynamically based on the number of * buttons. * * @default `undefined` */ rows?: number } slots: {} events: { /** * Fires when a button is clicked. * * Note that the values described in the `ButtonGridClickEvent` type are * available on the `event.detail` parameter. * * @event */ click: ButtonGridClickEvent } } export type ButtonGridProps = typeof __propDef.props export type ButtonGridEvents = typeof __propDef.events export type ButtonGridSlots = typeof __propDef.slots /** * A grid of `