export type SigningStatus = 'valid' | 'invalid' | 'unsigned'; export declare const signingToken = "@generated <>"; /** * Signs a source file which contains a signing token. Signing modifies only the signing token, so the token should be placed inside a comment in order for signing to not change code semantics. */ export declare function signFile(contents: string): string; /** * Checks whether a file is signed *without* verifying the signature. */ export declare function isSigned(contents: string): boolean; /** * Verify the signature in a signed file. */ export declare function verifySignature(contents: string): SigningStatus;