import { OrArray } from '@jsmanifest/typefest'; import yaml from 'yaml'; import * as t from './types.js'; declare class Scripts = Record> { #private; docs: { name: string; doc: yaml.Document | yaml.Document.Parsed; }[]; constructor(opts: { dataFilePath: string; store?: Store; docs?: OrArray['docs'][number]>; }); set dataFilePath(dataFilePath: string); get hooks(): Record, (((store: Store) => void) | ((store: Store) => void))[]>; get store(): Store; ensureDataFile(): void; get(): any; compose(scripts?: ReturnType>[]): (obj: Scripts['docs'][number]) => (key: number | "key" | "value", node: yaml.Node, path: readonly (yaml.Document | yaml.Node | yaml.Pair)[]) => any; run(): void; save(): any; use(opts: { script?: OrArray>; onStart?: t.Script.HooksRegister; onEnd?: t.Script.HooksRegister; }): this; } export default Scripts;