import * as _intlayer_types0 from "@intlayer/types";
import { LocalesValues } from "@intlayer/types";

//#region src/client/useLocale.d.ts
type UseLocaleProps = {
  onChange?: 'replace' | 'push' | ((locale: LocalesValues) => void);
};
declare const useLocale: ({
  onChange
}?: UseLocaleProps) => {
  pathWithoutLocale: string;
  locale: _intlayer_types0.DeclaredLocales;
  defaultLocale: _intlayer_types0.DeclaredLocales;
  availableLocales: _intlayer_types0.DeclaredLocales[];
  setLocale: (locale: LocalesValues) => void;
};
//#endregion
export { useLocale };
//# sourceMappingURL=useLocale.d.ts.map