import { AutoEncoder } from '@simonbackx/simple-encoding'; import { DNSRecord } from '../DNSRecord.js'; import { Organization } from '../Organization.js'; import { Category } from './Category.js'; import { Product } from './Product.js'; import { WebshopMetaData, WebshopPrivateMetaData } from './WebshopMetaData.js'; export declare class WebshopPreview extends AutoEncoder { id: string; organizationId: string; /** * Not writeable */ uri: string; /** * Not writeable */ legacyUri: string | null; domain: string | null; domainUri: string | null; meta: WebshopMetaData; privateMeta: WebshopPrivateMetaData; createdAt: Date; get hasSingleTickets(): boolean; get hasTickets(): boolean; getDefaultDomain(organization: Organization): string; getDefaultUrl(organization: Organization): string; getDomainUrl(): string; getUrl(organization: Organization): string; getLegacyUrl(organization: Organization): string | null; getDomainSuffix(): string; getDefaultSuffix(): string; getUrlSuffix(): string; isClosed(margin?: number): boolean; } export declare class Webshop extends AutoEncoder { id: string; organizationId: string; /** * Not writeable */ uri: string; /** * Not writeable */ legacyUri: string | null; domain: string | null; domainUri: string | null; meta: WebshopMetaData; products: Product[]; categories: Category[]; get hasSingleTickets(): boolean; get hasTickets(): boolean; get productsInOrder(): Product[]; /** * Whether we need to show the text 'Free' in webshops (only if we have at least one non-free product) */ get isAllFree(): boolean; get canEnableCart(): boolean; get shouldEnableCart(): boolean; get hasCustomDomain(): boolean; getDefaultDomain(organization: { address: { country: string; }; }): string; getDefaultUrl(organization: { address: { country: string; }; }): string; getDomainUrl(): string; getUrl(organization: { address: { country: string; }; }): string; getLegacyUrl(organization: Organization): string | null; getDomainSuffix(): string; getDefaultSuffix(): string; getUrlSuffix(): string; buildDNSRecords(): DNSRecord[]; isClosed(margin?: number): boolean; opensInTheFuture(): boolean; clearStock(): void; } export declare class PrivateWebshop extends Webshop { privateMeta: WebshopPrivateMetaData; } //# sourceMappingURL=Webshop.d.ts.map