import { LocalMoranResult } from './local-moran'; export type LocalGProps = { data: number[] | Float32Array; neighbors: number[][]; permutation: number; significanceCutoff?: number; seed?: number; isGStar?: boolean; }; /** * Get local Getis-Ord G* statistics. * * ## Example * ```ts * import { localG } from '@geoda/lisa'; * * const data = [1, 2, 3, 4, 5]; * const neighbors = [[1], [0, 2], [1, 3], [2, 4], [3]]; * * const result = await localGStar({ * data, * neighbors, * }); * * console.log(result); * ``` */ export declare function localGStar({ data, neighbors, permutation, significanceCutoff, seed, }: LocalGProps): Promise; /** * Get local Getis-Ord statistics. * * ## Example * ```ts * import { localG } from '@geoda/lisa'; * * const data = [1, 2, 3, 4, 5]; * const neighbors = [[1], [0, 2], [1, 3], [2, 4], [3]]; * * const result = await localG({ * data, * neighbors, * }); * * console.log(result); * ``` */ export declare function localG({ data, neighbors, permutation, significanceCutoff, seed, isGStar, }: LocalGProps): Promise;