@kitbag/router 0.20.3 → 0.20.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1309,6 +1309,16 @@ export declare type UseLinkOptions = RouterPushOptions & {
1309
1309
  prefetch?: PrefetchConfig;
1310
1310
  };
1311
1311
 
1312
+ declare type UseQueryValue<T> = {
1313
+ value: Ref<T | null>;
1314
+ values: Ref<T[]>;
1315
+ remove: () => void;
1316
+ };
1317
+
1318
+ export declare function useQueryValue(key: MaybeRefOrGetter<string>): UseQueryValue<string>;
1319
+
1320
+ export declare function useQueryValue<TParam extends Param>(key: MaybeRefOrGetter<string>, param: TParam): UseQueryValue<ExtractParamType<TParam>>;
1321
+
1312
1322
  /**
1313
1323
  * A composition to access the current route or verify a specific route name within a Vue component.
1314
1324
  * This function provides two overloads: