import type { ExecutionEntity, IExecutionResponse, User } from '@n8n/db'; export declare function loadExecutionForViewer(executionId: string, viewer: User): Promise; export declare function findUnsavedManualExecutionForViewer(executionId: string, viewer: User): Promise; export declare function getExecutionRedaction(execution: IExecutionResponse): { reason: string; canReveal: boolean; } | undefined;