import type { ActionRunContext } from "../action.js"; export type AutomationOriginContext = { caller?: ActionRunContext["caller"] | undefined; networkProtocol?: ActionRunContext["networkProtocol"] | undefined; automation?: ActionRunContext["automation"] | undefined; }; /** * Whether an automation change or run trigger came from outside the app's own * UI and agent. Every enclosing action frame counts, so a trusted inner caller * cannot launder an outside ancestor. With no context at all the origin is * unknown, which is outside. */ export declare function isOutsideAutomationOrigin(ctx?: AutomationOriginContext): boolean;