import { Sequelize, DataTypes } from 'sequelize'; import { ISpruceModels } from '../interfaces/models'; import { Organization } from './Organization'; import { UserLocation } from './UserLocation'; import { User } from './User'; import SpruceCoreModel from '../lib/SpruceModel'; export declare class Location extends SpruceCoreModel { static readonly doNotSync = true; static readonly paranoid = false; static readonly scopes: { public: { attributes: string[]; }; }; static readonly attributes: { id: { type: DataTypes.AbstractDataTypeConstructor; defaultValue: DataTypes.AbstractDataTypeConstructor; primaryKey: boolean; }; name: { type: DataTypes.StringDataTypeConstructor; }; addressLine1: { type: DataTypes.StringDataTypeConstructor; }; addressLine2: { type: DataTypes.StringDataTypeConstructor; }; addressCity: { type: DataTypes.StringDataTypeConstructor; }; addressState: { type: DataTypes.StringDataTypeConstructor; }; addressZip: { type: DataTypes.StringDataTypeConstructor; }; addressCountry: { type: DataTypes.StringDataTypeConstructor; }; timezone: { type: DataTypes.StringDataTypeConstructor; }; isPublic: { type: DataTypes.StringDataTypeConstructor; }; storeNum: { type: DataTypes.StringDataTypeConstructor; }; slug: { type: DataTypes.StringDataTypeConstructor; }; geo: { type: DataTypes.AbstractDataTypeConstructor | DataTypes.GeographyDataType; get(this: Location): { lat: number; lng: number; } | null; }; }; id: string; name: string; addressLine1: string; addressLine2: string; addressCity: string; addressState: string; addressZip: string; addressCountry: string; timezone: string; isPublic: string; slug: string; geo: string; OrganizationId?: string | null; Organization?: Organization | null; UserLocations?: UserLocation[] | null; Users?: User[] | null; static associate(models: ISpruceModels): void; } declare const _default: (sequelize: Sequelize) => void; export default _default;