export declare type TransactionFunc = ((...args: any[]) => Promise<any>);
export declare type TransactionFuncDescriptor = TypedPropertyDescriptor<TransactionFunc>;
export declare type TransactionDecoratorFunc = (target: Object, propertyKey: string, propertyDescriptor: TransactionFuncDescriptor) => void;
export declare function Transaction(detach?: boolean): TransactionDecoratorFunc;
export declare function Transaction(transactionName: string, detach?: boolean): TransactionDecoratorFunc;
