import type { Dispatch, StateUpdater } from 'preact/hooks';
type UseStateFromPropParams<T> = {
    initialValue?: T;
    passedValue: T;
    skipUpdate?: boolean;
};
type UseStateFromPropReturn<T> = [T | undefined, Dispatch<StateUpdater<T | undefined>>];
export declare const useStateFromProp: <T>({ initialValue, passedValue, skipUpdate, }: UseStateFromPropParams<T>) => UseStateFromPropReturn<T>;
export {};
