UNPKG

@neo-one/smart-contract-compiler

Version:

NEO•ONE TypeScript smart contract compiler.

18 lines (17 loc) 795 B
import ts from 'typescript'; import { Context } from '../../../Context'; import { Types } from '../../constants'; import { IsHelper } from './IsHelper'; import { UnwrapHelper } from './UnwrapHelper'; import { WrapHelper } from './WrapHelper'; export declare class UnwrapHeaderHelper extends UnwrapHelper { } export declare class WrapHeaderHelper extends WrapHelper { protected readonly type = Types.Header; } export declare class IsHeaderHelper extends IsHelper { protected readonly type = Types.Header; } export declare const hasHeader: (context: Context, node: ts.Node, type: ts.Type) => boolean; export declare const isOnlyHeader: (context: Context, node: ts.Node, type: ts.Type) => boolean; export declare const isHeader: (context: Context, node: ts.Node, type: ts.Type) => boolean;