UNPKG

next-csrf

Version:

CSRF mitigation library for Next.js

7 lines (6 loc) 234 B
export declare function isInAmpMode({ ampFirst, hybrid, hasQuery, }?: { ampFirst?: boolean | undefined; hybrid?: boolean | undefined; hasQuery?: boolean | undefined; }): boolean; export declare function useAmp(): boolean;