import type { PhpAssoc, PhpRuntimeValue } from '../_helpers/_phpTypes.ts';
type SliceValue = PhpRuntimeValue;
export declare function array_slice<TValue extends SliceValue>(arr: TValue[], offst: number, lgth?: number, preserveKeys?: false | undefined): TValue[];
export declare function array_slice<TValue extends SliceValue>(arr: TValue[], offst: number, lgth: number | undefined, preserveKeys: true): TValue[] | PhpAssoc<TValue | undefined>;
export declare function array_slice<TValue extends SliceValue>(arr: PhpAssoc<TValue>, offst: number, lgth?: number, preserveKeys?: boolean): PhpAssoc<TValue | undefined>;
export {};
