import type { StreamDeckButtonControlDefinition, StreamDeckControlDefinition } from './controlDefinition.js'; import type { Dimension } from './id.js'; /** Where a grid of buttons sits on the face. The gaps are listed one by one, as some models have uneven ones */ export interface ButtonsGridBounds { /** Distance from the left edge of the face to the first column */ left: number; /** Distance from the top edge of the face to the first row */ top: number; /** Gap between adjacent columns, either one value used for every gap or one per pair */ columnGaps: number | readonly number[]; /** Gap between adjacent rows, either one value used for every gap or one per pair */ rowGaps: number | readonly number[]; } export interface GenerateButtonsGridOptions { /** Whether the hid indices run right to left */ rtl?: boolean; columnOffset?: number; rowOffset?: number; /** Where the grid sits on the face */ bounds: ButtonsGridBounds; } export declare function generateButtonsGrid(width: number, height: number, pixelSize: Dimension, options: GenerateButtonsGridOptions): StreamDeckButtonControlDefinition[]; export declare function freezeDefinitions(controls: StreamDeckControlDefinition[]): Readonly; //# sourceMappingURL=controlsGenerator.d.ts.map