export interface HeadInstructionRenderState { hasRenderedHead: boolean; headInTree: boolean; partial: boolean; } /** * Policy for explicit `head` instructions. * * @example * A page with `{Astro.head}` renders once, then blocks repeats. */ export declare function shouldRenderHeadInstruction(state: HeadInstructionRenderState): boolean; /** * Policy for fallback `maybe-head` instructions. * * @example * A layout without `` can inject styles with `maybe-head`, but only when * no explicit `` exists in the rendered tree. */ export declare function shouldRenderMaybeHeadInstruction(state: HeadInstructionRenderState): boolean; /** Dispatches to the policy function for `head` or `maybe-head`. */ export declare function shouldRenderInstruction(type: 'head' | 'maybe-head', state: HeadInstructionRenderState): boolean;