"use strict";
Object.defineProperty(exports, "__esModule", {
    value: true
});
exports.ALLOWED_LAYOUT_PROPS = exports.ALLOWED_PAGE_PROPS = exports.DISALLOWED_SERVER_REACT_APIS = exports.LEGACY_CONFIG_EXPORT = exports.ALLOWED_EXPORTS = exports.NEXT_TS_ERRORS = void 0;
const NEXT_TS_ERRORS = {
    INVALID_SERVER_API: 71001,
    INVALID_ENTRY_EXPORT: 71002,
    INVALID_OPTION_VALUE: 71003,
    MISPLACED_CLIENT_ENTRY: 71004,
    INVALID_PAGE_PROP: 71005,
    INVALID_CONFIG_OPTION: 71006,
    INVALID_CLIENT_ENTRY_PROP: 71007
};
exports.NEXT_TS_ERRORS = NEXT_TS_ERRORS;
const ALLOWED_EXPORTS = [
    "config",
    "generateStaticParams",
    "metadata",
    "generateMetadata", 
];
exports.ALLOWED_EXPORTS = ALLOWED_EXPORTS;
const LEGACY_CONFIG_EXPORT = "config";
exports.LEGACY_CONFIG_EXPORT = LEGACY_CONFIG_EXPORT;
const DISALLOWED_SERVER_REACT_APIS = [
    "useState",
    "useEffect",
    "useLayoutEffect",
    "useDeferredValue",
    "useImperativeHandle",
    "useInsertionEffect",
    "useReducer",
    "useRef",
    "useSyncExternalStore",
    "useTransition",
    "Component",
    "PureComponent",
    "createContext",
    "createFactory", 
];
exports.DISALLOWED_SERVER_REACT_APIS = DISALLOWED_SERVER_REACT_APIS;
const ALLOWED_PAGE_PROPS = [
    "params",
    "searchParams"
];
exports.ALLOWED_PAGE_PROPS = ALLOWED_PAGE_PROPS;
const ALLOWED_LAYOUT_PROPS = [
    "params",
    "children"
];
exports.ALLOWED_LAYOUT_PROPS = ALLOWED_LAYOUT_PROPS;

//# sourceMappingURL=constant.js.map