/** * The members an interface, a type alias or a class declares, for the answer * that names it. * * A signature is what is written before the body, so an interface's answer * would stop at `interface Shape` and say nothing of what a value of it holds. * The scan records every member each file declares, on the container that * holds it, with the text of the line it is declared on, so the members are * read off the source index and each is shown as its line read when the index * recorded it. */ import { type ContainerMember } from '@variance-authority/sense'; import { type Located } from './format.js'; /** * `Members:` and one row per line that declares a member of the container * `on` in `at`, the file relative to `root`, said once above them as * {@link byFile} groups rows, each as the index recorded the * line, and by its name when the index kept no text of it; a line the * declaration at `line` already shows is not shown again. * Nothing when the name declares no members or no index is published; why, * when the index does not read. */ export declare function memberRows(root: string | undefined, at: string, on: string, line: number): readonly string[]; /** * One row per line of `file` that declares one of `members`, in their order, * as the index recorded the line, or by the member's name when it kept no * text; a line in `shown`, or one an earlier member already showed, is not * shown again, so a line that declares three members reads once. */ export declare function memberLines(file: string, members: readonly ContainerMember[], shown: readonly number[]): readonly Located[]; //# sourceMappingURL=container.d.ts.map