SYMBOL INDEX (237 symbols across 52 files) FILE: examples/basic/autocomplete-multiselect.ts function main (line 9) | async function main() { FILE: examples/basic/autocomplete.ts function main (line 4) | async function main() { FILE: examples/basic/date.ts function main (line 4) | async function main() { FILE: examples/basic/default-value.ts function main (line 4) | async function main() { FILE: examples/basic/index.ts function main (line 5) | async function main() { FILE: examples/basic/path.ts function demo (line 3) | async function demo() { FILE: examples/basic/progress.ts function fakeProgress (line 5) | async function fakeProgress(progressbar: ProgressResult): Promise { function demo (line 13) | async function demo() { FILE: examples/basic/spinner-cancel-advanced.ts function main (line 4) | async function main() { FILE: examples/basic/spinner-cancel.ts function sleep (line 40) | function sleep(ms: number) { FILE: examples/basic/spinner-timer.ts function main (line 5) | async function main() { function sleep (line 22) | function sleep(ms: number) { FILE: examples/basic/stream.ts function main (line 5) | async function main() { FILE: examples/basic/task-log.ts function main (line 4) | async function main() { FILE: examples/basic/text-validation.ts function main (line 4) | async function main() { FILE: examples/changesets/index.ts function onCancel (line 5) | function onCancel() { function main (line 10) | async function main() { FILE: packages/core/src/prompts/autocomplete.ts type OptionLike (line 6) | interface OptionLike { type FilterFunction (line 12) | type FilterFunction = (search: string, opt: T) => ... function getCursorForValue (line 14) | function getCursorForValue( function defaultFilter (line 34) | function defaultFilter(input: string, option: T): ... function normalisedValue (line 39) | function normalisedValue(multiple: boolean, values: T[] | undefined):... type AutocompleteOptions (line 49) | interface AutocompleteOptions class AutocompletePrompt (line 63) | class AutocompletePrompt extends Prompt< method cursor (line 78) | get cursor(): number { method userInputWithCursor (line 82) | get userInputWithCursor() { method options (line 94) | get options(): T[] { method constructor (line 101) | constructor(opts: AutocompleteOptions) { method _isActionKey (line 139) | protected override _isActionKey(char: string | undefined, key: Key): b... method #onKey (line 150) | #onKey(_char: string | undefined, key: Key): void { method deselectAll (line 202) | deselectAll() { method toggleSelected (line 206) | toggleSelected(value: T['value']) { method #onUserInputChanged (line 222) | #onUserInputChanged(value: string): void { FILE: packages/core/src/prompts/confirm.ts type ConfirmOptions (line 4) | interface ConfirmOptions extends PromptOptions { class ConfirmPrompt (line 10) | class ConfirmPrompt extends Prompt { method cursor (line 11) | get cursor() { method _value (line 15) | private get _value() { method constructor (line 19) | constructor(opts: ConfirmOptions) { FILE: packages/core/src/prompts/date.ts type SegmentConfig (line 5) | interface SegmentConfig { type DateParts (line 10) | interface DateParts { type DateFormat (line 16) | type DateFormat = 'YMD' | 'MDY' | 'DMY'; constant SEGMENTS (line 18) | const SEGMENTS: Record = { function segmentsFor (line 24) | function segmentsFor(fmt: DateFormat): SegmentConfig[] { function detectLocaleFormat (line 28) | function detectLocaleFormat(locale?: string): { segments: SegmentConfig[... function parseSegmentToNum (line 48) | function parseSegmentToNum(s: string): number { function parse (line 52) | function parse(parts: DateParts): { year: number; month: number; day: nu... function daysInMonth (line 60) | function daysInMonth(year: number, month: number): number { function validParts (line 65) | function validParts(parts: DateParts): { year: number; month: number; da... function toDate (line 76) | function toDate(parts: DateParts): Date | undefined { function segmentBounds (line 81) | function segmentBounds( type DateOptions (line 120) | interface DateOptions extends PromptOptions { class DatePrompt (line 130) | class DatePrompt extends Prompt { method segmentCursor (line 142) | get segmentCursor() { method segmentValues (line 146) | get segmentValues(): DateParts { method segments (line 150) | get segments(): readonly SegmentConfig[] { method separator (line 154) | get separator(): string { method formattedValue (line 158) | get formattedValue(): string { method #format (line 162) | #format(parts: DateParts): string { method #refresh (line 166) | #refresh() { method constructor (line 171) | constructor(opts: DateOptions) { method #seg (line 202) | #seg(): { segment: SegmentConfig; index: number } | undefined { method #navigate (line 213) | #navigate(direction: 1 | -1) { method #adjust (line 226) | #adjust(direction: 1 | -1) { method #onCursor (line 256) | #onCursor(key?: string) { method #onKey (line 270) | #onKey(char: string | undefined, key: Key) { method #validateSegment (line 409) | #validateSegment(parts: DateParts, seg: SegmentConfig): string | undef... method #onFinalize (line 420) | #onFinalize(opts: DateOptions) { FILE: packages/core/src/prompts/group-multiselect.ts type GroupMultiSelectOptions (line 3) | interface GroupMultiSelectOptions class GroupMultiSelectPrompt (line 11) | class GroupMultiSelectPrompt extends Prompt) { FILE: packages/core/src/prompts/multi-select.ts type OptionLike (line 4) | interface OptionLike { type MultiSelectOptions (line 9) | interface MultiSelectOptions class MultiSelectPrompt (line 16) | class MultiSelectPrompt extends Prompt) { FILE: packages/core/src/prompts/password.ts type PasswordOptions (line 4) | interface PasswordOptions extends PromptOptions { class PasswordPrompt (line 7) | class PasswordPrompt extends Prompt { method cursor (line 9) | get cursor() { method masked (line 12) | get masked() { method userInputWithCursor (line 15) | get userInputWithCursor() { method clear (line 28) | clear() { method constructor (line 31) | constructor({ mask, ...opts }: PasswordOptions) { FILE: packages/core/src/prompts/prompt.ts type PromptOptions (line 17) | interface PromptOptions> { class Prompt (line 28) | class Prompt { method constructor (line 46) | constructor(options: PromptOptions>, trackValue... method unsubscribe (line 64) | protected unsubscribe() { method setSubscriber (line 72) | private setSubscriber>( method on (line 86) | public on>(event: T, cb: ClackEven... method once (line 95) | public once>(event: T, cb: ClackEv... method emit (line 104) | public emit>( method prompt (line 124) | public prompt() { method _isActionKey (line 178) | protected _isActionKey(char: string | undefined, _key: Key): boolean { method _setValue (line 182) | protected _setValue(value: TValue | undefined): void { method _setUserInput (line 187) | protected _setUserInput(value: string | undefined, write?: boolean): v... method _clearUserInput (line 196) | protected _clearUserInput(): void { method onKeypress (line 201) | private onKeypress(char: string | undefined, key: Key) { method close (line 255) | protected close() { method restoreCursor (line 266) | private restoreCursor() { method render (line 273) | private render() { FILE: packages/core/src/prompts/select-key.ts type SelectKeyOptions (line 3) | interface SelectKeyOptions class SelectKeyPrompt (line 8) | class SelectKeyPrompt extends Prompt) { FILE: packages/core/src/prompts/select.ts type SelectOptions (line 4) | interface SelectOptions class SelectPrompt (line 9) | class SelectPrompt extends... method _selectedValue (line 15) | private get _selectedValue() { method changeValue (line 19) | private changeValue() { method constructor (line 23) | constructor(opts: SelectOptions) { FILE: packages/core/src/prompts/text.ts type TextOptions (line 4) | interface TextOptions extends PromptOptions { class TextPrompt (line 9) | class TextPrompt extends Prompt { method userInputWithCursor (line 10) | get userInputWithCursor() { method cursor (line 22) | get cursor() { method constructor (line 25) | constructor(opts: TextOptions) { FILE: packages/core/src/types.ts type ClackState (line 7) | type ClackState = 'initial' | 'active' | 'cancel' | 'submit' | 'error'; type ClackEvents (line 12) | interface ClackEvents { FILE: packages/core/src/utils/cursor.ts function findCursor (line 1) | function findCursor( FILE: packages/core/src/utils/index.ts constant CANCEL_SYMBOL (line 15) | const CANCEL_SYMBOL = Symbol('clack:cancel'); function isCancel (line 17) | function isCancel(value: unknown): value is symbol { function setRawMode (line 21) | function setRawMode(input: Readable, value: boolean) { type BlockOptions (line 27) | interface BlockOptions { function block (line 34) | function block({ function wrapTextWithPrefix (line 101) | function wrapTextWithPrefix( FILE: packages/core/src/utils/settings.ts type Action (line 2) | type Action = (typeof actions)[number]; constant DEFAULT_MONTH_NAMES (line 4) | const DEFAULT_MONTH_NAMES = [ type InternalClackSettings (line 20) | interface InternalClackSettings { type ClackSettings (line 69) | interface ClackSettings { function updateSettings (line 118) | function updateSettings(updates: ClackSettings) { function isActionKey (line 179) | function isActionKey(key: string | Array, action: Ac... FILE: packages/core/src/utils/string.ts function diffLines (line 1) | function diffLines(a: string, b: string) { FILE: packages/core/test/mock-readable.ts class MockReadable (line 3) | class MockReadable extends Readable { method _read (line 6) | _read() { method pushValue (line 19) | pushValue(val: unknown): void { method close (line 23) | close(): void { FILE: packages/core/test/mock-writable.ts class MockWritable (line 3) | class MockWritable extends Writable { method _write (line 6) | _write( FILE: packages/prompts/src/autocomplete.ts function getLabel (line 16) | function getLabel(option: Option) { function getFilteredOption (line 20) | function getFilteredOption(searchText: string, option: Option): bo... function getSelectedOptions (line 32) | function getSelectedOptions(values: T[], options: Option[]): Optio... type AutocompleteSharedOptions (line 44) | interface AutocompleteSharedOptions extends CommonOptions { type AutocompleteOptions (line 72) | interface AutocompleteOptions extends AutocompleteSharedOptions extends AutocompleteShar... method render (line 287) | render() { FILE: packages/prompts/src/box.ts type BoxAlignment (line 19) | type BoxAlignment = 'left' | 'center' | 'right'; type BoxSymbols (line 21) | type BoxSymbols = [topLeft: string, topRight: string, bottomLeft: string... type BoxOptions (line 31) | interface BoxOptions extends CommonOptions { function getPaddingForLine (line 41) | function getPaddingForLine( FILE: packages/prompts/src/common.ts constant S_STEP_ACTIVE (line 12) | const S_STEP_ACTIVE = unicodeOr('◆', '*'); constant S_STEP_CANCEL (line 13) | const S_STEP_CANCEL = unicodeOr('■', 'x'); constant S_STEP_ERROR (line 14) | const S_STEP_ERROR = unicodeOr('▲', 'x'); constant S_STEP_SUBMIT (line 15) | const S_STEP_SUBMIT = unicodeOr('◇', 'o'); constant S_BAR_START (line 17) | const S_BAR_START = unicodeOr('┌', 'T'); constant S_BAR (line 18) | const S_BAR = unicodeOr('│', '|'); constant S_BAR_END (line 19) | const S_BAR_END = unicodeOr('└', '—'); constant S_BAR_START_RIGHT (line 20) | const S_BAR_START_RIGHT = unicodeOr('┐', 'T'); constant S_BAR_END_RIGHT (line 21) | const S_BAR_END_RIGHT = unicodeOr('┘', '—'); constant S_RADIO_ACTIVE (line 23) | const S_RADIO_ACTIVE = unicodeOr('●', '>'); constant S_RADIO_INACTIVE (line 24) | const S_RADIO_INACTIVE = unicodeOr('○', ' '); constant S_CHECKBOX_ACTIVE (line 25) | const S_CHECKBOX_ACTIVE = unicodeOr('◻', '[•]'); constant S_CHECKBOX_SELECTED (line 26) | const S_CHECKBOX_SELECTED = unicodeOr('◼', '[+]'); constant S_CHECKBOX_INACTIVE (line 27) | const S_CHECKBOX_INACTIVE = unicodeOr('◻', '[ ]'); constant S_PASSWORD_MASK (line 28) | const S_PASSWORD_MASK = unicodeOr('▪', '•'); constant S_BAR_H (line 30) | const S_BAR_H = unicodeOr('─', '-'); constant S_CORNER_TOP_RIGHT (line 31) | const S_CORNER_TOP_RIGHT = unicodeOr('╮', '+'); constant S_CONNECT_LEFT (line 32) | const S_CONNECT_LEFT = unicodeOr('├', '+'); constant S_CORNER_BOTTOM_RIGHT (line 33) | const S_CORNER_BOTTOM_RIGHT = unicodeOr('╯', '+'); constant S_CORNER_BOTTOM_LEFT (line 34) | const S_CORNER_BOTTOM_LEFT = unicodeOr('╰', '+'); constant S_CORNER_TOP_LEFT (line 35) | const S_CORNER_TOP_LEFT = unicodeOr('╭', '+'); constant S_INFO (line 37) | const S_INFO = unicodeOr('●', '•'); constant S_SUCCESS (line 38) | const S_SUCCESS = unicodeOr('◆', '*'); constant S_WARN (line 39) | const S_WARN = unicodeOr('▲', '!'); constant S_ERROR (line 40) | const S_ERROR = unicodeOr('■', 'x'); type CommonOptions (line 70) | interface CommonOptions { FILE: packages/prompts/src/confirm.ts type ConfirmOptions (line 12) | interface ConfirmOptions extends CommonOptions { method render (line 29) | render() { FILE: packages/prompts/src/date.ts type DateOptions (line 8) | interface DateOptions extends CommonOptions { method validate (line 23) | validate(value: Date | undefined) { method render (line 39) | render() { function renderDate (line 80) | function renderDate(prompt: Omit, 'promp... type SegmentOptions (line 98) | interface SegmentOptions { function renderSegment (line 102) | function renderSegment(value: string, opts: SegmentOptions): string { constant DEFAULT_LABELS (line 109) | const DEFAULT_LABELS: Record<'year' | 'month' | 'day', string> = { FILE: packages/prompts/src/group-multi-select.ts type GroupMultiSelectOptions (line 14) | interface GroupMultiSelectOptions extends CommonOptions { method validate (line 93) | validate(selected: Value[] | undefined) { method render (line 106) | render() { FILE: packages/prompts/src/group.ts type Prettify (line 3) | type Prettify = { type PromptGroupAwaitedReturn (line 7) | type PromptGroupAwaitedReturn = { type PromptGroupOptions (line 11) | interface PromptGroupOptions { type PromptGroup (line 19) | type PromptGroup = { FILE: packages/prompts/src/limit-options.ts type LimitOptionsParams (line 6) | interface LimitOptionsParams extends CommonOptions { FILE: packages/prompts/src/log.ts type LogMessageOptions (line 13) | interface LogMessageOptions extends CommonOptions { FILE: packages/prompts/src/multi-select.ts type MultiSelectOptions (line 16) | interface MultiSelectOptions extends CommonOptions { method validate (line 82) | validate(selected: Value[] | undefined) { method render (line 95) | render() { FILE: packages/prompts/src/note.ts type FormatFn (line 18) | type FormatFn = (line: string) => string; type NoteOptions (line 19) | interface NoteOptions extends CommonOptions { FILE: packages/prompts/src/password.ts type PasswordOptions (line 5) | interface PasswordOptions extends CommonOptions { method render (line 18) | render() { FILE: packages/prompts/src/path.ts type PathOptions (line 6) | interface PathOptions extends CommonOptions { method validate (line 21) | validate(value) { method options (line 34) | options() { FILE: packages/prompts/src/progress-bar.ts constant S_PROGRESS_CHAR (line 6) | const S_PROGRESS_CHAR: Record, str... type ProgressOptions (line 12) | interface ProgressOptions extends SpinnerOptions { type ProgressResult (line 18) | interface ProgressResult extends SpinnerResult { function progress (line 22) | function progress({ FILE: packages/prompts/src/select-key.ts type SelectKeyOptions (line 6) | interface SelectKeyOptions extends CommonOptions { method render (line 42) | render() { FILE: packages/prompts/src/select.ts type Primitive (line 14) | type Primitive = Readonly; type Option (line 16) | type Option = Value extends Primitive type SelectOptions (line 68) | interface SelectOptions extends CommonOptions { method render (line 115) | render() { FILE: packages/prompts/src/spinner.ts type SpinnerOptions (line 15) | interface SpinnerOptions extends CommonOptions { type SpinnerResult (line 25) | interface SpinnerResult { method isCancelled (line 215) | get isCancelled() { FILE: packages/prompts/src/task-log.ts type TaskLogOptions (line 14) | interface TaskLogOptions extends CommonOptions { type TaskLogMessageOptions (line 21) | interface TaskLogMessageOptions { type TaskLogCompletionOptions (line 25) | interface TaskLogCompletionOptions { type BufferEntry (line 29) | interface BufferEntry { method message (line 186) | message(msg: string, mopts?: TaskLogMessageOptions) { method group (line 189) | group(name: string) { method error (line 214) | error(message: string, opts?: TaskLogCompletionOptions): void { method success (line 225) | success(message: string, opts?: TaskLogCompletionOptions): void { FILE: packages/prompts/src/task.ts type Task (line 4) | type Task = { FILE: packages/prompts/src/text.ts type TextOptions (line 5) | interface TextOptions extends CommonOptions { method render (line 22) | render() { FILE: packages/prompts/test/test-utils.ts class MockWritable (line 3) | class MockWritable extends Writable { method _write (line 9) | _write( class MockReadable (line 19) | class MockReadable extends Readable { method _read (line 22) | _read() { method pushValue (line 35) | pushValue(val: unknown): void { method close (line 39) | close(): void {