/** * One warning per deprecated option per process, through Node's own `DeprecationWarning` channel. * * Going through `process.emitWarning` rather than the console means the platform's switches apply: * `--no-deprecation` silences these, `--throw-deprecation` turns them into errors for a CI job that * must stay clean, and `process.on('warning')` sees them. Where there is no `process`, such as a * browser, the warning goes to `console.warn` instead. */ /** Warns once that a deprecated option was used. `code` identifies it, as `NEXUS_DEP_*`. */ export declare function warnDeprecated(code: string, message: string): void; /** Warns when an option is present, for the options that have never been read. */ export declare function warnUnreadOption(present: boolean, code: string, option: string): void;