import type { Choice, Script, PromptDb } from '../types/core'; import type { RestEndpointMethodTypes } from '@octokit/plugin-rest-endpoint-methods'; import type { Keyv } from 'keyv'; import type { DBData, DBKeyOrPath, DBReturnType } from '../types/kit.js'; export declare const resolveKenv: (...parts: string[]) => string; export declare let store: (nameOrPath: string, initialData?: object | (() => Promise)) => Promise; export declare function db(dataOrKeyOrPath?: DBKeyOrPath, data?: DBData, fromCache?: boolean): Promise>; export declare let parseScripts: (ignoreKenvPattern?: RegExp) => Promise; export declare let getScriptsDb: (fromCache?: boolean, ignoreKenvPattern?: RegExp) => Promise>; export declare let setScriptTimestamp: (stamp: Stamp) => Promise; export declare let refreshScripts: () => Promise; export declare let getPrefs: () => Promise>; export type Stamp = { filePath: string; timestamp?: number; compileStamp?: number; compileMessage?: string; executionTime?: number; changeStamp?: number; exitStamp?: number; runStamp?: number; runCount?: number; }; export declare let getTimestamps: (fromCache?: boolean) => Promise>; export declare let getScriptFromString: (script: string) => Promise