import { SpreadsheetPlugin } from '../types'; /** * Configuration for the Tasks plugin */ export interface TasksPluginConfig { /** Enable inline row creation */ enableInlineCreation?: boolean; /** Enable context menu */ enableContextMenu?: boolean; /** Enable row height resize */ enableRowResize?: boolean; /** Enable multi-row selection */ enableMultiRowSelection?: boolean; /** Status options for task status field */ statusOptions?: Array<{ value: string; label: string; color?: string; }>; /** Category options for task category field */ categoryOptions?: Array<{ value: string; label: string; }>; } /** * Creates a tasks plugin for task management spreadsheets * * Features: * - Inline row creation * - Context menu for row actions * - Row height resize * - Multi-row selection * - Status and category dropdowns * * @example * ```tsx * const plugin = createTasksPlugin({ * enableInlineCreation: true, * statusOptions: [ * { value: 'open', label: 'Open' }, * { value: 'closed', label: 'Closed' } * ] * }); * * * ``` */ export declare function createTasksPlugin>(config?: TasksPluginConfig): SpreadsheetPlugin; /** * Task column definitions for common use case */ export declare const TASK_COLUMNS: ({ key: string; label: string; width: number; editable: boolean; type: "select"; sortable: boolean; align: "center"; } | { key: string; label: string; width: number; editable: boolean; type: "text"; sortable: boolean; align: "left"; } | { key: string; label: string; width: number; editable: boolean; type: "text"; sortable: boolean; align: "center"; } | { key: string; label: string; width: number; editable: boolean; sortable: boolean; align: "center"; type?: undefined; })[]; export default createTasksPlugin; //# sourceMappingURL=tasksPlugin.d.ts.map