export function applyReleasePleasePatch(directory?: string): Promise; export function describeReleaseProposalError(error: unknown): string; export function releaseProposalSearchDepth( run: (command: string, args: string[]) => Promise, sourceSha: string, ): Promise; export function createReleaseProposal( run: (command: string, args: string[]) => Promise, context: { repository: string; sourceSha: string; targetBranch: string; eventName: string | undefined; }, loadManifest: (depth: number) => Promise<{ createPullRequests(): Promise>; }>, ): Promise< | { kind: "release-merge"; pullRequest: number } | { kind: "proposal"; pullRequests: T[] } >;