import { SpreadsheetPlugin, HourValidationConfig } from '../types';
/**
* Configuration for the Pointage plugin
*/
export interface PointagePluginConfig {
/** Hour validation configuration */
hourValidation?: HourValidationConfig;
/** Hour column keys (defaults to common pointage columns) */
hourColumns?: string[];
/** Enable bulk editing for regular hours */
enableBulkRegularHours?: boolean;
/** Default regular hours value for bulk fill */
defaultRegularHours?: number;
/** Enable position summary view */
enablePositionSummary?: boolean;
/** Show salary type grouping (Monthly before Daily) */
groupBySalaryType?: boolean;
}
/**
* Creates a pointage plugin for time tracking spreadsheets
*
* Features:
* - Hour validation (max per cell, max per day)
* - Bulk regular hours filling
* - Position summary view
* - Salary type grouping
*
* @example
* ```tsx
* const plugin = createPointagePlugin({
* hourValidation: { maxCellHours: 8, maxDailyHours: 20 }
* });
*
*
* ```
*/
export declare function createPointagePlugin>(config?: PointagePluginConfig): SpreadsheetPlugin;
/**
* Pointage column definitions for common use case
*/
export declare const POINTAGE_COLUMNS: ({
key: string;
label: string;
width: number;
editable: boolean;
type?: undefined;
} | {
key: string;
label: string;
width: number;
editable: boolean;
type: "number";
} | {
key: string;
label: string;
width: number;
editable: boolean;
type: "checkbox";
} | {
key: string;
label: string;
width: number;
editable: boolean;
type: "costcode";
} | {
key: string;
label: string;
width: number;
editable: boolean;
type: "text";
})[];
export default createPointagePlugin;
//# sourceMappingURL=pointagePlugin.d.ts.map