import { GetServerSidePropsContext } from "next"; import type { NextApiRequest, NextApiResponse } from 'next'; interface GetServerSideShopifyPropsContext extends GetServerSidePropsContext { shopOrigin?: string; } export declare function authenticateShopifyPage(getServerSidePropsFunc?: Function): (ctx: GetServerSideShopifyPropsContext) => Promise<{ props: any; }>; export declare type NextShopifyApiRequest = NextApiRequest & { shopOrigin?: string; shopifyToken?: string; shopifyAssociatedUser?: string; }; export declare const authenticateShopifyAPI: (handler: (req: NextShopifyApiRequest, res: NextApiResponse) => Promise) => (req: NextShopifyApiRequest, res: NextApiResponse) => Promise; export {}; //# sourceMappingURL=requireAuthentication.d.ts.map