import { AnyObject } from 'tn-typescript'; import { ExoTime } from '../../../accessories/ExoTime'; import { ExoSecureInfo } from './accessories/ExoSecureInfo'; export declare const exoSecureFieldName = "$secure"; export interface ExoSecureOpts { timesafe?: ExoTime; omit?: string[]; } export declare const ExoSecure: (secret: string, opts?: ExoSecureOpts) => (target: any, key: string) => void; export declare class ExoSecureField { readonly name = "$secure"; secret: string; omit: string[]; timesafe: number | null; constructor(secret: string, opts?: ExoSecureOpts); checkup(secures: AnyObject, reqroute: string[], route: string[]): void; private timecheck; private getHash; get info(): ExoSecureInfo; }