declare module for client-side use