export { compressToEncodedURIComponent } from "lz-string"; import dedent from "ts-dedent"; /** * d stands for dedent. * it allow us to indent html in template literals without affecting the output */ export declare const d: typeof dedent; /** Similar to `Object.keys` but with stricter types */ export declare const keys: (object: T) => (keyof T)[]; /** Similar to `Object.values` but with stricter types */ export declare const values: (object: T) => T[keyof T][]; /** * Check if an array contains a string. * Type guard the string if it does. */ export declare const has: (array: unknown[], item: string) => item is never; /** * Copied from radash library * Returns an object with { [keys]: value } * inverted as { [value]: key } */ export declare const invert: (obj: Record) => Record;