import { type GitHubRepositoryReference } from './projectReference';
/**
 * Shared hidden arguments potentially injected into any USE PROJECT tool call.
 *
 * @private type of UseProjectCommitmentDefinition
 */
export type UseProjectToolArgsBase = {
    repository?: string;
    __promptbookToolRuntimeContext?: unknown;
};
/**
 * Resolved runtime payload used by USE PROJECT tools.
 *
 * @private type of resolveUseProjectToolRuntimeOrWalletCredentialResult
 */
type UseProjectResolvedRuntime = {
    repositoryReference: GitHubRepositoryReference;
    token: string;
};
/**
 * Runtime resolution result for USE PROJECT tools.
 *
 * @private type of UseProjectCommitmentDefinition
 */
export type UseProjectToolRuntimeResolution = UseProjectResolvedRuntime | {
    walletResult: string;
};
/**
 * Resolves project runtime or returns a wallet-credential-required payload when missing.
 *
 * @private function of UseProjectCommitmentDefinition
 */
export declare function resolveUseProjectToolRuntimeOrWalletCredentialResult(args: UseProjectToolArgsBase): UseProjectToolRuntimeResolution;
export {};
