import { type ChecklistItemStatus } from './checklist-types.js';
export type ChecklistUserMutationResult = {
    kind: 'updated';
    customData: Record<string, unknown>;
} | {
    kind: 'noop';
    message: string;
} | {
    kind: 'error';
    error: string;
};
export declare function applyChecklistUserMutation(customData: Record<string, unknown> | undefined, op: {
    type: 'add';
    text: string;
} | {
    type: 'remove';
    index1Based: number;
} | {
    type: 'mark';
    index1Based: number;
    status: ChecklistItemStatus;
} | {
    type: 'reset';
}): ChecklistUserMutationResult;
