/** * A single named slot's captured content, ready to be output into a * template — wrapped in HTML comment fragment markers the client * (assets/livewire.js) already knows how to morph. * PHP parity: Slot */ export declare class Slot { name: string; content: string; componentId: string; parentComponentId: string | null; constructor(name: string, content: string, componentId: string, parentComponentId?: string | null); getName(): string; getComponentId(): string; getParentId(): string | null; toHtml(): string; toString(): string; } /** * Encodes fragment metadata exactly like PHP's crc32()-based token and * `key=value|key2=value2` format — the client's parser * (assets/livewire.js:6653,6660) expects this exact shape. * PHP parity: Slot::wrapWithFragmentMarkers / encodeFragmentMetadata */ export declare function wrapWithFragmentMarkers(output: string, metadata: Record): string; /** * Minimal crc32 implementation matching PHP's crc32() output for the * exact same input string — the client only needs matching opening/closing * tokens, not a specific hash algorithm, but this mirrors PHP for parity. * PHP parity: crc32() */ export declare function crc32(str: string): number;