import type { CodeOverflow, CodeStyleConfig, CodeTokenKind, ColorValue, ResolvedBodyTextConfig, ResolvedCodeStyleConfig } from '../types.js'; /** Code listings (#624): a monospaced face a little smaller than the * text on the text's leading, in a pale box padded by 0.6 em, split * between lines across columns and pages, long lines turned over. */ export declare const DEFAULT_CODE_STYLE: Omit; export declare const CODE_TOKEN_KINDS: readonly CodeTokenKind[]; /** The token colours of a listing nobody styled: a quiet palette that * reads on the default pale box and in grey print. Operators, punctuation * and a session's prompt keep the listing's colour; the prompt is bold. */ export declare const DEFAULT_CODE_TOKENS: Readonly>; export declare const CODE_OVERFLOWS: readonly CodeOverflow[]; /** `codeStyle` in full: the colour defaults to the body text's, the token * styles merge kind by kind onto {@link DEFAULT_CODE_TOKENS}. */ export declare function resolveCodeStyleConfig(partial: CodeStyleConfig | undefined, bodyText: ResolvedBodyTextConfig): ResolvedCodeStyleConfig; /** The code style a resolved configuration lays listings out with: its * own section, else the defaults. */ export declare function resolvedCodeStyle(resolved: { codeStyle?: ResolvedCodeStyleConfig; bodyText: ResolvedBodyTextConfig; }): ResolvedCodeStyleConfig; /** `codeStyle` without the fields that hold their default; undefined when * none is left. Colours, faces, the title row, the label and inline code * are kept as written. */ export declare function stripCodeStyleDefaults(codeStyle?: CodeStyleConfig): CodeStyleConfig | undefined; //# sourceMappingURL=codeStyle.d.ts.map