import 'server-only'; import Pagination from './helpers/pagination'; import Model, { ModelError } from './model'; import type { HestiaLocationData } from './place.types'; export default class Location extends Model { static pagination: Pagination | undefined; static findOne({ countySlug, locationSlug, }: { countySlug: string; locationSlug: string; }): Promise<{ result: Location | null; errors: ModelError[] | null; }>; static findAll(params: { lat?: number; lng?: number; distance?: number; page?: number; pageSize?: number; }): Promise<{ results: never[]; errors: { message: string; }[] | null; pagination: null; } | { results: Location[]; errors: null; pagination: Pagination; }>; static findWithinPolygon(params: { polygon: string; page?: number; pageSize?: number; }): Promise<{ results: never[]; errors: { message: string; }[] | null; } | { results: Location[]; errors: null; }>; get id(): string | null; get name(): string | null; get countyName(): string | null; get countySlug(): string | null; get urlLabel(): string | null; get lat(): number | null; get lng(): number | null; get polygon(): string | null; get placeData(): HestiaLocationData | undefined; } //# sourceMappingURL=location.d.ts.map