import { type ResolvedStackPolicy } from './github-configured-base.mts'; import type { GhInvocation } from './github-invocation.mts'; import type { BlockDecision } from './types.mts'; /** * `cwd` is the invocation's working directory, or undefined when it could not be determined (an * unresolved `cd` target). The init HEAD-ancestry guard fails open in that case rather than * substitute the session cwd. */ export declare function findGitHubStackWorkflowBlock(invocation: GhInvocation, cwd: string | undefined, policy: ResolvedStackPolicy): BlockDecision | null;