export declare type TypeIstantevent = 'BEFORE' | 'AFTER' | 'INSTEAD OF';
export declare type TypeSurgevent = 'INSERT' | 'UPDATE' | 'DELETE' | 'TRUNCATE';
export interface ITrigger {
    instantevent?: TypeIstantevent;
    surgevent?: TypeSurgevent[];
    nomeTrigger: string;
    nomeFunzione: string;
    Validatore: string | ((NEW: any, OLD: any, argomenti: any[], instantevent: any, surgevent: any) => void | Error);
    typeFunction?: 'plv8' | 'sql';
}
export declare class Trigger implements ITrigger {
    instantevent: TypeIstantevent;
    surgevent: TypeSurgevent[];
    nomeTrigger: string;
    nomeFunzione: string;
    Validatore: string | ((nuovo: any, vecchio: any, argomenti: any[], instantevent: any, surgevent: any) => void | Error);
    typeFunction?: 'plv8' | 'sql';
    CostruisceTrigger(nomeTabella: string): string;
    constructor(item?: ITrigger);
}
