import type { PhpAssoc, PhpRuntimeValue } from '../_helpers/_phpTypes.ts';
type SpliceValue = PhpRuntimeValue;
type AssocArray<T> = PhpAssoc<T | undefined>;
type ReplacementValue<T> = Array<T | undefined> | AssocArray<T> | T;
export declare function array_splice<T extends SpliceValue>(arr: Array<T | undefined>, offst: number, lgth?: number, replacement?: ReplacementValue<T>): Array<T | undefined>;
export declare function array_splice<T extends SpliceValue>(arr: AssocArray<T>, offst: number, lgth?: number, replacement?: ReplacementValue<T>): Array<T | undefined> | AssocArray<T>;
export {};
