import { ProjectUIDL } from '@teleporthq/teleport-types'; /** * What a plugin's PUBLIC route (the instant search, the item comparison) may * index and serve: only what a page every visitor may open already shows. A * table only signed-in, role or subscriber pages bind is never indexed — its * rows would answer a search no visitor could otherwise read — nor a page * behind a sign-in, nor a column named like a credential. */ /** A page every visitor may open binds the table (see `DataExposure.resolveDataExposure`). */ export declare const isPubliclyReadableTable: (uidl: ProjectUIDL, source: { tableName: string; dataSourceId: string; dataSourceType: string; }) => boolean; /** Every visitor may open the page at `route` (the middleware's own route table). */ export declare const isPublicPageRoute: (uidl: ProjectUIDL, route: string) => boolean; /** The columns without the credential-named ones (`TableAccess.isCredentialColumnName`). */ export declare const withoutCredentialColumns: (columns: string[]) => string[]; //# sourceMappingURL=public-exposure.d.ts.map