import type { PredicateContext, PredicateHandler } from "@cad0p/pi-steering"; type ArgWord = { text: string; }; /** The walker-parsed argument words of the evaluated command. */ export declare function argText(ctx: PredicateContext): readonly ArgWord[]; /** * Strip one level of wrapping quotes from a walker word's raw source * text (`Word.text` preserves the original quoting — `"file.md"` and * `'file.md'` both come through with their quotes). */ export declare function unquote(text: string): string; /** * Value of the first occurrence of one of `flags` (space or `=` * form), unquoted. `null` when none of the flags appears. */ export declare function findFlagValue(ctx: PredicateContext, flags: readonly string[]): string | null; /** * Resolve a possibly-relative path against the command's effective * cwd. `null` when the cwd is the walker's `"unknown"` sentinel * (fail-closed — the caller treats it as missing). */ export declare function resolveAgainstCwd(ctx: PredicateContext, path: string): string | null; /** * Does the command's body carry a closing-keyword reference? Reads * the `--body-file` content when present; falls back to the inline * `--body` text. Anything unreadable/missing = false (fail-closed). */ export declare function bodyHasClosingKeyword(ctx: PredicateContext): boolean; /** * Repository name: origin URL basename (`git config --get * remote.origin.url`, `.git` suffix stripped); falls back to the cwd * folder name when the remote is unresolvable (user decision * 2026-08-14). `null` only when both fail — caller treats as missing. */ export declare function repoName(ctx: PredicateContext, cwd: string): Promise; /** * `missingVaultBodyFile` — fail-closed vault body-file check. True * when the command's `--body-file` value is missing, unreadable, * outside a napkin vault, or not under a `/
/` * directory inside the vault. */ export declare const missingVaultBodyFile: PredicateHandler<{ section: "prs" | "issues"; }>; export {}; //# sourceMappingURL=missing-vault-body-file.d.ts.map