import type { Value } from './values.js'; /** `language.md` 13.2. `title` is required and `short` falls back to it. */ export declare const STUDY_DEFAULTS: Readonly>; /** `language.md` 13.3, the options only a `strategy()` adds. */ export declare const STRATEGY_DEFAULTS: Readonly>; /** The order `meta.strategy` lists them in, 2.3. */ export declare const STRATEGY_OPTIONS: readonly string[]; /** * `stdlib.md` 14.2. * * `lineStyle` has no argument on `plot` at all: the call's `style` names the * column's shape and becomes the entry's `type`. A plot therefore always * carries the one line style a host draws an undecorated line with. */ export declare const PLOT_DEFAULTS: Readonly>; export declare const PLOT_LINE_STYLE: Value; /** `stdlib.md` 14.2. A candle's border takes a plot's own width and style. */ export declare const CANDLE_DEFAULTS: Readonly>; export declare const FILL_DEFAULTS: Readonly>; export declare const LEVEL_DEFAULTS: Readonly>; /** `stdlib.md` 14.3. `title`, `rows` and `cols` have no default. */ export declare const TABLE_DEFAULTS: Readonly>; export declare const MARKER_DEFAULTS: Readonly>; export declare const ALERT_DEFAULTS: Readonly>; /** `stdlib.md` 13.2, the arguments every input kind accepts. */ export declare const INPUT_DEFAULTS: Readonly>; /** `language.md` 10.7 and 7.4, carried by `limits` whether or not it was written. */ export declare const LOOP_BUDGET = 2000000; /** * Which map holds each declaration call's defaults. * * The association is made at the call sites in `outputs.ts`, `events.ts` and * `inputs.ts`, where each map is read for the call it belongs to, and there was * nothing to read it off in one place. `scripts/check-defaults.mjs` therefore * carried a copy of it, and so would anything else that wanted to know what a * `plot` written without a `width` is given. It is written once here instead, * and that check holds it to the surface: a declaration call with optional * parameters and no map fails, and a key in a map that is not a parameter of * its call fails. */ export declare const DECLARATION_DEFAULTS: Readonly>>>; /** * What a declaration call's omitted argument resolves to, spelled as a default. * * A `plot` or a `level` carries no default in the library manifest, because its * optional arguments become fields of a declaration rather than arguments an * engine is passed (`compiled-program.md` 2.3), and this file is where their * values are. So a reader of the manifest alone sees `width?: number` with no * value beside it while the compiler writes 1.5, and anything that showed a * writer the manifest's answer would be showing them nothing where the compiler * has something. * * This is the one answer to that question. `scripts/check-defaults.mjs` compares * what it returns against what `stdlib.md` prints, so a tooltip built on it * cannot state a default the compiler does not apply: the two are the same text * from the same table, or the build fails. * * Nothing comes back for a parameter whose value is absence, because absence is * not a default a writer can be shown: the specification states `none` for some * of those and words in place of a value for others, and which is which is * recorded in `spec/default-exceptions.json` rather than invented here. */ export declare function declarationDefaultText(call: string, parameter: string): string | undefined; //# sourceMappingURL=defaults.d.ts.map